Lua functions

IsInRaid

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

Historical signature: IsInRaid(…) via current binding

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

Function: IsInRaid(spawn [, is_leader_group])

Description: Tests whether the entity's original group appears in that group's raid-group list. With is_leader_group true, also requires its group to be the first entry (the raid leader group). The native query retains the original membership/group allocations; it does not re-resolve an old group ID or use the leader flag as a target group ID.

Parameters:

  • spawn (Spawn) - Entity whose raid membership is requested.
  • is_leader_group (boolean, optional) - Defaults to false.

Returns: Boolean. Missing/invalid entity, membership or group returns false.

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.