User Tools

Site Tools


4rpl:commands:settimer2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:settimer2 [2021/01/24 18:41] karsten754rpl:commands:settimer2 [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]] \\ 
 +<= [[4rpl:start#Timers]]  
 + 
 <WRAP tabs> <WRAP tabs>
   * [[4rpl:commands:gettimer2|Get]]   * [[4rpl:commands:gettimer2|Get]]
Line 9: Line 12:
  
 ===== Description ===== ===== Description =====
-Sets the current value of timer 2. Timers are set to some value, and the decrease by 1 each game frame.+Sets the current value of timer 2. Timers are set to some value, and then decrease by 1 each game frame.
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
 if (GetTimer2 eq0) if (GetTimer2 eq0)
-   SetCreeeper(GetUnitCell(self) 5 false)+   SetCreeper(GetUnitCell(self) 5 false)
    SetTimer2 (30)    SetTimer2 (30)
 endif endif
4rpl/commands/settimer2.1611513711.txt.gz · Last modified: 2025/02/14 14:56 (external edit)