Function: GetSpawnByGroupID(zone, group_id)
Description: Gets the first spawn by its group_id.
Parameters:
zone(Zone) - Zone object representingzone.group_id(uint32) - Integer valuegroup_id.
Returns: Spawn object reference
GetSpawnByGroupIDRegistered in this checkout as EQ2Emu_lua_GetSpawnByGroupID; implementation found at WorldServer/Lua/LuaFunctions.cpp:703.
Historical signature: GetSpawnByGroupID(zone, group_id)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Gets the first spawn by its group_id.
Parameters:
zone (Zone) - Zone object representing zone.group_id (uint32) - Integer value group_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 group = GetSpawnByGroupID(zone, 1049684)
Evidence: server/SpawnScripts/The Sepulcher of Jahnda/RonicustheRed.lua:28; binding EQ2Emu_lua_GetSpawnByGroupID.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.