This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:setfieldcell [2014/12/20 11:51] – created stewbasic | crpl:docs:setfieldcell [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | ||
| <- [[crpl: | <- [[crpl: | ||
| ===== SetFieldCell | ===== SetFieldCell | ||
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | X, Y, AC_R/L, AC_U/D, Creeper_R/ | + | | X, Y, Creeper_U/D, Creeper_R/ |
| Line 11: | Line 10: | ||
| The fields are not tied to a particular unit, so this command will overwrite any field in the same location due to a shield or another core. | The fields are not tied to a particular unit, so this command will overwrite any field in the same location due to a shield or another core. | ||
| + | |||
| + | This command uses integer creeper (1000000 units per creeper pushed sideways). | ||
| === Examples === | === Examples === | ||
| - | Creates a field pushing the creeper to the right immediately under the core. | + | Creates a field strongly |
| < | < | ||
| - | SetFieldCell(CurrentCoords 0 0 10000 0) | + | SetFieldCell(CurrentCoords 0 100000000 |
| </ | </ | ||