Difference between revisions of "01BB"
Jump to navigation
Jump to search
(New page: {{OpCode | ini = 01BB=4,%1d% %2d% %3d% %4d% | description = Gets the object's position | p1 = Existing object handle | p2 = Variable to store the X-coordinate | p...) |
|||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Icon|trilogy}} '''GET_OBJECT_COORDINATES''' |
| − | | | + | <hr /> |
| − | + | <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | |
| − | + | '''Description''' | |
| − | + | : Gets the object's position | |
| − | + | '''Syntax''' | |
| − | + | : 01BB: store_object [''object handle''] position_to [''var1''] [''var2''] [''var3''] | |
| − | + | '''Parameter''' | |
| − | + | : [''object handle''] | |
| − | }} | + | :: The handle of the object |
| − | ==Keywords== | + | : [''var1''] |
| + | :: Variable to store the x-coordinate | ||
| + | : [''var2''] | ||
| + | :: Variable to store the y-coordinate | ||
| + | : [''var3''] | ||
| + | :: Variable to store the z-coordinate | ||
| + | '''Native analog''' | ||
| + | : [[GET_OBJECT_COORDINATES]] | ||
| + | |||
| + | This opcode gets the coordinates point of the specified object. | ||
| + | }}</onlyinclude> | ||
| + | |||
| + | == Keywords == | ||
store, get, object, position, coordinate, location | store, get, object, position, coordinate, location | ||
| + | |||
| + | [[Category:OpCodes]] | ||
Revision as of 06:12, 5 February 2012
Description
- Gets the object's position
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 coordinates point of the specified object.
Keywords
store, get, object, position, coordinate, location