Lua functions

StopTimer

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

Historical signature: StopTimer(spawn, function)

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

Function: StopTimer(spawn, function)

Description: Stops an active timer that is to call the function.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • function (int32) - Integer value function.

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.

StopTimer(NPC, "animationloop")

Evidence: server/SpawnScripts/The Deserted Mine/ShyzintheCoercer.lua:197; binding EQ2Emu_lua_StopTimer.

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