Lua functions

ChangeHandIcon

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

Historical signature: ChangeHandIcon(spawn, displayHandIcon)

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

Function: ChangeHandIcon(spawn, displayHandIcon)

Description:

Changes the hand icon of the Spawn when Player's hover over the Spawn in 3d space.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • displayHandIcon (uint8) - Integer value displayHandIcon.

Returns: None.

Checked example

Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.

ChangeHandIcon(NPC, 0)

Evidence: server/SpawnScripts/FarJourneyFreeport/atreasurechest.lua:14; binding EQ2Emu_lua_ChangeHandIcon.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.