1
0
EQ2Emu/docs/lua_functions/FlashWindow.md
2025-05-14 09:46:52 -04:00

16 lines
598 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Function: FlashWindow(Player, WindowName, FlashSeconds)
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.
WindowName: String The window or UI element name to flash.
FlashSeconds: Float - Flash time of the window in seconds.
Returns: None.
Example:
-- Example usage (flash the quest journal when a quest is updated for 2 seconds).
FlashWindow(Player, "MainHUD.StartMenu.quest_journal", 2.0)