Timer

From PGE Wiki
Revision as of 14:35, 14 October 2019 by Wohlstand (talk | contribs) (Added "lang=text" to remove "Syntax highlight errors")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Prototype

Timer,-,CUSTOM EVENT #,DISPLAY?,REPEAT?,Active time,-

Description

Starts a timer that counts its Active time down to 0. Once it reaches 0, it activates CUSTOM EVENT.

Notes

DISPLAY? = 0 = Don't show the timer in the top right corner DISPLAY? = 1 = Display the timer

REPEAT? = 0 = Don't restart the timer when it finishes. REPEAT? = 1 = Restart the timer back to its starting point when it finishes.

Examples

// Timer that activates custom event #1000 after 100 seconds and displays itself
Timer,0,1000,1,0,6000,0