This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:gettimer2 [2013/01/14 19:06] – created virgilw | crpl:docs:gettimer2 [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | |
+ | <- [[crpl: | ||
+ | ===== GetTimer2 | ||
+ | |||
+ | ^Arguments^Result^Notation^ | ||
+ | | |Count for timer 2 |%% -- n1%%| | ||
+ | |||
+ | |||
+ | === Description === | ||
+ | Gets the current value of timer 2. | ||
+ | Timers are set to some value, and then decrease by 1 each game frame | ||
+ | (even if the core is in a Delay). | ||
+ | === Examples === | ||
+ | < | ||
+ | GetTimer2 eq0 if | ||
+ | CurrentCoords 20 SetCreeper | ||
+ | 30 SetTimer2 | ||
+ | endif</ |