Lua functions

HasGroup

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

Historical signature: HasGroup(spawn)

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

Function: HasGroup(spawn)

Description:

Return's true if the Spawn is in a group (If Player) otherwise checks if NPC/Object/Widget is in a Spawn Group.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: True if criteria is met for Player in a group or NPC/Object/Widget/Sign is in a Spawn Group.

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.