User Tools

Site Tools


crpl:docs:gettimer0

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
crpl:docs:gettimer0 [2021/02/05 11:43] – Rmoved discussion tag Karsten75crpl:docs:gettimer0 [2022/08/01 12:50] (current) – Reformat Karsten75
Line 3: Line 3:
 =====  GetTimer0  ===== =====  GetTimer0  =====
  
-^Arguments^Result^Notation^ +GetTimer0 ->val
-| |Count for timer 0. |%% -- n1%%|+
  
 === Description === === Description ===
Line 11: Line 10:
 (even if the core is in a Delay). (even if the core is in a Delay).
 === Examples === === Examples ===
-<code># Sets the creeper height to 20 on the crpl core position every 30 frames (1 second)+<code 4RPL> 
 +# Sets the creeper height to 20 on the crpl core position every 30 frames (1 second)
 GetTimer0 eq0 if GetTimer0 eq0 if
 CurrentCoords 20 SetCreeper CurrentCoords 20 SetCreeper
 30 SetTimer0 30 SetTimer0
 endif</code>  endif</code> 
crpl/docs/gettimer0.txt · Last modified: 2022/08/01 12:50 by Karsten75