Lua functions

RemoveWidgetFromZoneMap

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

Historical signature: RemoveWidgetFromZoneMap(zone, widget_id)

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

Function: RemoveWidgetFromZoneMap(zone, widget_id)

Description: Removes the widget from the 3d world space in the client and server. Must be used in preinit_zone_script

Parameters:

  • zone (Zone) - Zone object representing zone.
  • widget_id (uint32) - Integer value widget_id.

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.

RemoveWidgetFromZoneMap(Zone, 196122590)

Evidence: server/ZoneScripts/NektulosClassic.lua:12; binding EQ2Emu_lua_RemoveWidgetFromZoneMap.

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