Difference between revisions of "00A0"
Jump to navigation
Jump to search
m |
|||
Line 17: | Line 17: | ||
: [[GET_CHAR_COORDINATES]] | : [[GET_CHAR_COORDINATES]] | ||
− | This opcode stores the x, y, and z-coordinates of the center of mass of the character's body. It's roughly +1. | + | This opcode stores the x, y, and z-coordinates of the center of mass of the character's body. It's roughly +1.04 z higher than the ground z-coordinate. |
== Keywords == | == Keywords == |
Revision as of 08:55, 28 June 2015
Description
- Gets the coordinates of the character
Syntax
- 00A0: store_actor [char handle] position_to [var1] [var2] [var3]
Parameter
- [char handle]
- The handle of the character
- [var1]
- Variable to store x-coordinate
- [var2]
- Variable to store y-coordinate
- [var3]
- Variable to store z-coordinate
Native analog
This opcode stores the x, y, and z-coordinates of the center of mass of the character's body. It's roughly +1.04 z higher than the ground z-coordinate.
Keywords
get, store, actor, position
See also
- 00A1, sets the character's coordinates