Lua functions

FlashWindow

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

Historical signature: FlashWindow(player, window_name, flash_seconds)

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

Function: FlashWindow(player, window_name, flash_seconds)

Description: Causes a UI window to flash (usually its icon or border) on the client to draw attention. For example, flashing the quest journal icon when a new quest is added.

Parameters:

  • player (Spawn) – The player whose UI to affect.
  • window_name (string) – The window or UI element name to flash.
  • flash_seconds(float) - Flash time of the window in seconds.

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.

FlashWindow(spawn, "MainHUD.Experience", 3.0)

Evidence: server/ZoneScripts/FarJourneyFreeport.lua:246; binding EQ2Emu_lua_FlashWindow.

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