Lua functions

ToggleTracking

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

Historical signature: ToggleTracking(spawn)

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

Function: ToggleTracking(spawn)

Description: Toggles the tracking on or off for the Caster.

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.

ToggleTracking(Caster)

Evidence: server/Spells/Commoner/Tracking.lua:13; binding EQ2Emu_lua_ToggleTracking.

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