This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
prpl:createunit [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:createunit [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <- [[.: | + | <- [[.: |
- | ===== | + | ===== |
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | | | [ - ] | | + | | Unit Type, X cell coord, Y cell coord | UID | [ s1 i1 i2 - i3 ] | |
=== Description === | === Description === | ||
+ | |||
+ | Creates a unit of type '' | ||
=== Examples === | === Examples === | ||
+ | <code prpl> | ||
+ | # Create a PRPL core at map cell 1,1 | ||
+ | CreateUnit(" | ||
+ | </ | ||
< | < | ||
i1 = GetIntFromStack(); | i1 = GetIntFromStack(); |