- Description:
Respawn throttling
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
interval |
int | Minimal interval between respawns (2000) |
timeout |
int | Timeout in ms between respawns (2000) |
delay |
int | Delay in ms for throttling (30000) |
count |
int | How many times to respawn in a row to start throttling (4) |
Methods
(static) check(callback)
- Description:
If respawning too fast, delay otherwise call the callback after a short timeout
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
callback |
function |