User Tools

Site Tools


crpl:docs:once

Differences

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

Link to this comparison view

Next revision
Previous revision
crpl:docs:once [2013/01/14 19:04] – created virgilwcrpl:docs:once [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-TODO+ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#flow_control|Flow Control]] 
 +=====  once  ===== 
 + 
 +^Arguments^Result^Notation^ 
 +| | |''-- ''
 + 
 + 
 +=== Description === 
 +Start a block of instructions that are executed once only for the lifetime of the tower the script is associated with. 
 +=== Examples === 
 +<code> 
 +# Setup an initial movement to a random map coordinate.  
 +once  
 + RandCoords 1 QueueMove  
 + endonce 
 +</code>  
crpl/docs/once.1358190279.txt.gz · Last modified: 2025/02/14 14:56 (external edit)