Function: GetPlayersInZone(Zone)
Description: Retrieves a list of all player spawns currently present in the specified zone.
Parameters:
zone(Zone) - Zone object representingzone.
Returns: Table - Spawns array list of players in current zone.
GetPlayersInZoneRegistered in this checkout as EQ2Emu_lua_GetPlayersInZone; implementation found at WorldServer/Lua/LuaFunctions.cpp:11845.
Historical signature: GetPlayersInZone(Zone)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Retrieves a list of all player spawns currently present in the specified zone.
Parameters:
zone (Zone) - Zone object representing zone.Returns: Table - Spawns array list of players in current zone.
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 players = GetPlayersInZone(zone)
Evidence: server/SpawnScripts/BloodSkullValleyMaulicsStronghold/GeneralDrull.lua:41; binding EQ2Emu_lua_GetPlayersInZone.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.