This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:getunittransformposition [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:getunittransformposition [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <- [[.: | + | <- [[.: |
| - | ===== | + | ===== |
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | | | float float float | [ - float float float ] | |
| === Description === | === Description === | ||
| + | Get's the current core's 3d position, the first 2 numbers (x,y) are the same as pixel coordinates, | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | stack.Push(new Data(baseUnit.transform.position.y)); | + | GetUnitTransformPosition Trace3 |
| - | stack.Push(new Data(baseUnit.transform.position.z)); | + | |
| - | + | ||
| </ | </ | ||