This shows you the differences between two versions of the page.
|
scripting [2010/07/09 13:41] Philipp Sehmisch format and section about needed script bindings |
scripting [2010/08/22 23:33] (current) Jared Adams Fix being position function names |
||
|---|---|---|---|
| Line 287: | Line 287: | ||
| - | ==== mana.posx ==== | + | ==== mana.posX ==== |
| - | <code lua>mana.posx(handle being)</code> | + | <code lua>mana.posX(handle being)</code> |
| **Return value:** The horizontal position of the ''being'' in pixels measured from the left border of the map it is currently on. | **Return value:** The horizontal position of the ''being'' in pixels measured from the left border of the map it is currently on. | ||
| - | ==== mana.posy ==== | + | ==== mana.posY ==== |
| - | <code lua>mana.posy(handle being)</code> | + | <code lua>mana.posY(handle being)</code> |
| **Return value:** The vertical position of the ''being'' in pixels measured from the upper border of the map it is currently on. | **Return value:** The vertical position of the ''being'' in pixels measured from the upper border of the map it is currently on. | ||