Lua functions

IsCastOnAggroComplete

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

Historical signature: IsCastOnAggroComplete(spawn)

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

Function: IsCastOnAggroComplete(spawn)

Description: Reads whether an NPC's initial aggro spell bucket is complete.

Parameters:

  • spawn (Spawn) - The NPC to inspect.

Returns: Bool. True when the NPC's flag is complete; false otherwise. Missing or non-NPC spawns also return false and log an error.

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.