Lua functions

ReplaceWidgetFromClient

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

Historical signature: ReplaceWidgetFromClient(player, widget_id, x, y, z, grid_id)

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

Function: ReplaceWidgetFromClient(player, widget_id, x, y, z, grid_id)

Description: Can relocate a widget from its current location in the client map to a new location. Must be called after client has sent sys_client_avatar_ready

Parameters:

  • player (Spawn) - Spawn object representing player.
  • widget_id (uint32) - Integer value widget_id.
  • x (int32) - Integer value x.
  • y (int32) - Integer value y.
  • z (int32) - Integer value z.
  • grid_id (uint32) - Integer value grid_id.

Returns: None.

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.