Lua functions

GetTSArrowColor

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

Historical signature: GetTSArrowColor(player, level)

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

Function: GetTSArrowColor(player, level)

Description: Gets the arrow color depending on the player's tradeskill level against the target level.

Parameters:

  • player (Spawn) - Spawn object reference 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.