This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:once [2013/01/14 19:04] – created virgilw | crpl:docs:once [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | |
+ | <- [[crpl: | ||
+ | ===== 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 === | ||
+ | < | ||
+ | # Setup an initial movement to a random map coordinate. | ||
+ | once | ||
+ | RandCoords 1 QueueMove | ||
+ | endonce | ||
+ | </ |