API GetMirrorTimerInfo

Gives information about the mirror bar. (Spirit release, exhaustion/fatigue, etc) timer, initial, maxvalue, scale, paused, label = GetMirrorTimerInfo(id)

Arguments

 * id : Number - timer index, from 1 to MIRRORTIMER_NUMTIMERS (3 as of 3.2). In general, the following correspondence holds: 1 = Fatigue, 2 = Breath, 3 = Feign Death.

Returns

 * timer : String - A string identifying timer type; "EXHAUSTION", "BREATH", and "FEIGNDEATH", or "UNKNOWN" indicating that the timer corresponding to that index is not currently active, and other return values are invalid.
 * initial : Number - Value of the timer when the it started.
 * maxvalue : Number - Maximum value of the timer.
 * scale : Number - Change in timer value per second.
 * paused : Flag - 0 if the timer is currently running, a value greater than zero if it is not.
 * label : String - Localized timer name.

Related events

 * is fired when a timer becomes active.
 * is fired when a timer becomes inactive.
 * is fired when a timer is paused.