Index

ShowUIIndicator

ShowUIIndicator(<-indicatorName <-controlName)

Description

Shows a pulsing UI indicator over the specified control. Used to draw attention to something in the UI. This function must be called repeatedly in order to keep the indicator on the screen. A UI indicator will disappear automatically within 1 frame, so there is no reason to 'close'. Just stop calling ShowUIIndicator and the indicator will disappear.
The 'indicatorName' should be a unique string for the indicator that is created. When multiple different indicators are shown at the same time, a differernt indicatorName should be used for each.
:NOTE: The UI indicator's animation time is 20 frames.
The 'controlName' is a string that specifies where in the UI to show the indicator. Values are:

Examples

ShowUIIndicator("Indicator0" "buildbutton0")

Index