Lua functions

GetCurrentZoneSafeLocation

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

Historical signature: GetCurrentZoneSafeLocation(spawn)

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

Function: GetCurrentZoneSafeLocation(spawn)

Description: Returns the X, Y, Z of the current zone safe location by using the supplied Spawn's zone.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: x,y,z as returned array.

Checked example

No checked example is published for this function yet. No active script call with the current C++ argument count was found.

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