Difference between revisions of "01BB"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | {{Icon| | + | {{Icon|t}} '''GET_OBJECT_COORDINATES''' |
<hr /> | <hr /> | ||
− | |||
'''Description''' | '''Description''' | ||
− | : Gets the object's | + | : Gets the object's coordinates point |
'''Syntax''' | '''Syntax''' | ||
: 01BB: store_object [''object handle''] position_to [''var1''] [''var2''] [''var3''] | : 01BB: store_object [''object handle''] position_to [''var1''] [''var2''] [''var3''] | ||
Line 18: | Line 17: | ||
: [[GET_OBJECT_COORDINATES]] | : [[GET_OBJECT_COORDINATES]] | ||
− | This opcode gets the coordinates | + | This opcode gets the x, y, and z-coordinates of the center of mass of the object. |
− | |||
== Keywords == | == Keywords == | ||
− | store | + | get, store, object, position, coordinates, location |
+ | |||
+ | == See also == | ||
+ | * {{Icon|t}} [[01BC]], sets the object's coordinates | ||
[[Category:OpCodes]] | [[Category:OpCodes]] |
Revision as of 04:55, 8 December 2015
Description
- Gets the object's coordinates point
Syntax
- 01BB: store_object [object handle] position_to [var1] [var2] [var3]
Parameter
- [object handle]
- The handle of the object
- [var1]
- Variable to store the x-coordinate
- [var2]
- Variable to store the y-coordinate
- [var3]
- Variable to store the z-coordinate
Native analog
This opcode gets the x, y, and z-coordinates of the center of mass of the object.
Keywords
get, store, object, position, coordinates, location
See also
- 01BC, sets the object's coordinates