This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
4rpl:commands:getunitposition [2022/06/19 12:22] – [Description] Karsten75 | 4rpl:commands:getunitposition [2022/06/21 10:41] – More efficient method Karsten75 | ||
---|---|---|---|
Line 20: | Line 20: | ||
GetUnitPosition(< | GetUnitPosition(< | ||
</ | </ | ||
+ | |||
+ | |||
+ | A " | ||
+ | |||
+ | <code 4rpl> | ||
+ | Trace (@UnitPos(7) ) | ||
+ | |||
+ | :unitPos | ||
+ | StackSize ->size | ||
+ | GetUnitPosition | ||
+ | If (Stacksize <-size NEQ) | ||
+ | V3(-1 -1 -1) | ||
+ | endif | ||
+ | </ | ||
+ | |||
< | < | ||