This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:setcreeper [2013/01/14 19:02] – created chani | crpl:docs:setcreeper [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO | + | <- [[crpl: |
| + | ===== SetCreeper | ||
| + | |||
| + | ^Arguments^Result^Notation^ | ||
| + | |X, Y, Amt| |'' | ||
| + | |||
| + | === Description === | ||
| + | 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. | ||
| + | |||
| + | This command uses float creeper (1 creeper per unit). | ||
| + | |||
| + | === 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 | ||
| + | </ | ||