Timer (Autocode)

From Moondust Wiki
Revision as of 10:02, 17 January 2022 by Wohlstand (talk | contribs)
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?

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

Repeat?

  • 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