Lua functions

GetZonePlayerMinLevel

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

Historical signature: GetZonePlayerMinLevel(zone)

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

Function: GetZonePlayerMinLevel(zone)

Description: Gets the selected min players level in an instance / raid zone.

Parameters:

  • zone (Zone) - Zone object representing zone.

Returns: UInt32 min level of player in the group zoned in.

Checked example

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.

Say(NPC, "Hey! " .. GetZonePlayerMinLevel(zone))

Evidence: server/SpawnScripts/Firemyst/Sentry.lua:3; binding EQ2Emu_lua_GetZonePlayerMinLevel.

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