This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:setcreeper [2013/01/18 18:05] – grauniad | crpl:docs:setcreeper [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | ||
| <- [[crpl: | <- [[crpl: | ||
| ===== SetCreeper | ===== SetCreeper | ||
| Line 5: | Line 4: | ||
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| |X, Y, Amt| |'' | |X, Y, Amt| |'' | ||
| - | |||
| === Description === | === Description === | ||
| Sets Amt of Creeper at coordinates. Positive values are Creeper and negative values are AntiCreeper. | Sets Amt of Creeper at coordinates. Positive values are Creeper and negative values are AntiCreeper. | ||
| Values are clipped to the range of -2000 to 2000. | Values are clipped to the range of -2000 to 2000. | ||
| + | |||
| + | This command uses float creeper (1 creeper per unit). | ||
| + | |||
| === Examples === | === Examples === | ||
| - | < | + | Create a custom emitter, recreating the default in-game one. The values can be changed in the editor. |
| + | < | ||
| + | $power:32 | ||
| + | $interval: | ||
| + | |||
| + | GetTimer0 eq0 if | ||
| + | < | ||
| + | |||
| + | CurrentCoords <-power SetCreeper | ||
| + | endif | ||
| + | </ | ||