Lua functions

SetFailureTimer

Registered in this checkout as EQ2Emu_lua_SetFailureTimer; implementation found at WorldServer/Lua/LuaFunctions.cpp:8785.

Historical signature: SetFailureTimer(spawn)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: SetFailureTimer(spawn)

Description: Sets the failure timer on the Spawn for the current zone.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: None.

Checked example

Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.

SetFailureTimer(player)

Evidence: server/ZoneScripts/BloodSkullValleyExcavationSite.lua:14; binding EQ2Emu_lua_SetFailureTimer.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.