Timer:AlternateReal
From Data Realms Wiki
Revision as of 00:56, 28 June 2012 by Beautifybot (Talk | contribs)
Function | |
---|---|
Syntax | AlternateReal( * An int with the alternating period in ms. The time specified here is how long it will take for the switch to alternate. ) |
Description: | |
Returns true or false, depending on whether the elapsed time falls in one of two repeating intervals which divide it. This is useful for blink animations etc. | |
Returns | Whether the elapsed time is in the first state or not. |
Example | |
---|---|
Description | Placeholder! |
Code |
|
Output | Placeholder! |