Difference between revisions of "01BC"
Jump to navigation
Jump to search
(Created page with "{{Icon|t}} '''SET_OBJECT_COORDINATES''' <hr /> '''Description''' : Sets the object's coordinates point '''Syntax''' : 01BC: put_object [''object handle''] at [''flt1''] [''flt...") |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|t}} | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = SET_OBJECT_COORDINATES | |
− | + | | description = Sets the object's coordinates point | |
− | + | | syntax1 = 01BC: put_object [''object handle''] at [''flt1''] [''flt2''] [''flt3''] | |
− | + | | p1t = [''object handle''] | |
− | + | | p1d = The handle of the object | |
− | + | | p2t = [''flt1''] | |
− | + | | p2d = X-coordinate | |
− | + | | p3t = [''flt2''] | |
− | + | | p3d = Y-coordinate | |
− | + | | p4t = [''flt3''] | |
− | + | | p4d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]]) | |
− | + | | native = [[SET_OBJECT_COORDINATES]] | |
− | + | }} | |
− | |||
− | |||
This opcode sets the object's coordinates point by warping it to the location. The object's center of mass is the point where the object will be placed by. | This opcode sets the object's coordinates point by warping it to the location. The object's center of mass is the point where the object will be placed by. | ||
Line 24: | Line 22: | ||
== See also == | == See also == | ||
* {{Icon|t}} [[01BB]], gets the object's coordinates | * {{Icon|t}} [[01BB]], gets the object's coordinates | ||
− | |||
− |
Revision as of 00:39, 20 January 2016
- Description
- Sets the object's coordinates point
- Syntax
- 01BC: put_object [object handle] at [flt1] [flt2] [flt3]
- Parameter
- [object handle]
- The handle of the object
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or ≤-100.0 for ground z)
- Native analog
- SET_OBJECT_COORDINATES
This opcode sets the object's coordinates point by warping it to the location. The object's center of mass is the point where the object will be placed by.
Keywords
put, place, warp, set, object, position, coordinates
See also
- 01BB, gets the object's coordinates