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
Next revision
Previous revision
crpl:docs:gettimer0 [2013/01/18 01:28] grauniadcrpl:docs:gettimer0 [2022/08/01 12:50] (current) – Reformat Karsten75
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#timers|Timers]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#timers|Timers]]
 =====  GetTimer0  ===== =====  GetTimer0  =====
  
-^Arguments^Result^Notation^ +GetTimer0 ->val
-| |Count for timer 0. ||| FIXME ||| +
  
 === Description === === Description ===
Line 12: Line 10:
 (even if the core is in a Delay). (even if the core is in a Delay).
 === Examples === === Examples ===
-<code>example goes here</code> +<code 4RPL> 
 +# Sets the creeper height to 20 on the crpl core position every 30 frames (1 second) 
 +GetTimer0 eq0 if 
 +CurrentCoords 20 SetCreeper 
 +30 SetTimer0 
 +endif</code> 
crpl/docs/gettimer0.1358490491.txt.gz · Last modified: 2014/10/01 15:02 (external edit)