eq2emu/docs/lua_functions/SetFailureTimer.md

19 lines
354 B
Markdown
Raw Permalink Normal View History

2025-05-25 21:42:32 -04:00
### Function: SetFailureTimer(spawn)
2025-05-04 14:34:15 -04:00
**Description:**
2025-05-25 21:42:32 -04:00
Sets the failure timer on the Spawn for the current zone.
2025-05-04 14:34:15 -04:00
**Parameters:**
2025-05-25 21:42:32 -04:00
- `spawn` (Spawn) - Spawn object representing `spawn`.
2025-05-04 14:34:15 -04:00
**Returns:** None.
**Example:**
```lua
2025-05-25 21:42:32 -04:00
-- From ZoneScripts/BloodSkullValleyExcavationSite.lua
function player_entry(zone, player)
SetFailureTimer(player)
end
2025-05-04 14:34:15 -04:00
```