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 |
||
(One intermediate revision by the same user not shown) | |||
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. | ||
+ | |||
+ | == Example == | ||
+ | :''See [[0392#Example]]'' | ||
== Keywords == | == Keywords == | ||
Line 24: | Line 25: | ||
== See also == | == See also == | ||
* {{Icon|t}} [[01BB]], gets the object's coordinates | * {{Icon|t}} [[01BB]], gets the object's coordinates | ||
− | |||
− |
Latest revision as of 05:38, 1 February 2017
- 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.
Example
- See 0392#Example
Keywords
put, place, warp, set, object, position, coordinates
See also
- 01BB, gets the object's coordinates