Function: GetSpawnByLocationID(zone, location_id)
Description: Gets a spawn by its location id.
Parameters:
zone(Zone) - Zone object representingzone.location_id(uint32) - Integer valuelocation_id.
Returns: Spawn object reference.
GetSpawnByLocationIDRegistered in this checkout as EQ2Emu_lua_GetSpawnByLocationID; implementation found at WorldServer/Lua/LuaFunctions.cpp:718.
Historical signature: GetSpawnByLocationID(zone, location_id)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Gets a spawn by its location id.
Parameters:
zone (Zone) - Zone object representing zone.location_id (uint32) - Integer value location_id.Returns: Spawn object reference.
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 Spawn1 = GetSpawnByLocationID(zone, 133782082)
Evidence: server/SpawnScripts/antonica/afociofdecayA.lua:42; binding EQ2Emu_lua_GetSpawnByLocationID.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.