Function: GetZ(spawn)
Description: Current Z position of the spawn.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: Float Z of the spawn.
GetZRegistered in this checkout as EQ2Emu_lua_GetZ; implementation found at WorldServer/Lua/LuaFunctions.cpp:3809.
Historical signature: GetZ(spawn)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Current Z position of the spawn.
Parameters:
spawn (Spawn) - Spawn object representing spawn.Returns: Float Z of the spawn.
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.
local Z = GetZ(NPC)
Evidence: server/SpawnScripts/Baubbleshire/aBaubbleshirerat.lua:32; binding EQ2Emu_lua_GetZ.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.