Lua functions

GetArrowColor

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

Historical signature: GetArrowColor(player, level)

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

Function: GetArrowColor(player, level)

Description: Returns the arrow color based on the level against the Player's level.

Parameters:

  • player (Spawn) - Spawn object representing player.
  • level (uint8) - Integer value level.

Returns: Return is UINT32 represents the arrow colors GRAY 0, GREEN 1, BLUE 2, WHITE 3, YELLOW 4, ORANGE 5, RED 6.

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.