This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:setland [2016/12/02 23:34] – external edit 127.0.0.1 | prpl:setland [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| <- [[.: | <- [[.: | ||
| - | ===== | + | ===== |
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | | X cell coord, Y cell coord, land height |
| === Description === | === Description === | ||
| + | Sets land height at target cell. Use 0 for void, 1 for level 1 terrain, etc. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | i2 = GetIntFromStack(); | + | #set land at 0, 0 with terrain height 3 |
| - | i1 = GetIntFromStack(); //x | + | 0 0 3 SetLand |
| - | + | ||
| + | #clear land (create void) at 10, 5 | ||
| + | 10 5 0 SetLand | ||
| </ | </ | ||