Lua functions

GetAAInfo

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

Historical signature: GetAAInfo(spawn, type)

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

Function: GetAAInfo(spawn, type)

Description: Returns AA info based on the type string. The type string can be assigned_aa, unassigned_aa, assigned_tradeskill_aa, unassigned_tradeskill_aa, assigned_prestige_aa, unassigned_prestige_aa, assigned_tradeskill_prestige_aa and unassigned_tradeskill_prestige_aa.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • type (string) - String type.

Returns: If type is valid in the list, returns the SInt32 value of the AA field type.

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.