Description
Causes an existing HUD text or icon element to flash at a specified rate for a set duration, alternating between visible and invisible states. Reverts to a steady visible state when the duration expires. Useful for drawing player attention to critical HUD information.
Snippet
Flash HUD Element(Last Text ID, 2, 3);
Properties
Returns: Void
Parameters: HUD Element, Rate, Duration
HUD Element
Type: HUD Element, Default: Last Text ID
The HUD element to flash.Rate
Type: Number, Default: 1
The number of times per second the element toggles between visible and invisible.Duration
Type: Number, Default: 3
How long the flashing effect lasts, in seconds. Use 0 for indefinite flashing.