This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:settimer1 [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:settimer1 [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | <= [[4rpl: | ||
+ | |||
+ | <WRAP tabs> | ||
+ | * [[4rpl: | ||
+ | * [[4rpl: | ||
+ | </ | ||
====== SetTimer1 ====== | ====== SetTimer1 ====== | ||
SetTimer1(< | SetTimer1(< | ||
===== Description ===== | ===== Description ===== | ||
- | Sets the current value of timer 1. Timers are set to some value, and the decrease by 1 each game frame. | + | Sets the current value of timer 1. Timers are set to some value, and then decrease by 1 each game frame. |
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> | ||
if (GetTimer1 eq0) | if (GetTimer1 eq0) | ||
- | SetCreeeper(GetUnitCell(self) 5 false) | + | SetCreeper(GetUnitCell(self) 5 false) |
| | ||
endif | endif |