Difference between revisions of "01BC"

From GTAMods Wiki
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}} '''SET_OBJECT_COORDINATES'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = SET_OBJECT_COORDINATES
: Sets the object's coordinates point
+
| description = Sets the object's coordinates point
'''Syntax'''
+
| syntax1    = 01BC: put_object [''object handle''] at [''flt1''] [''flt2''] [''flt3'']
: 01BC: put_object [''object handle''] at [''flt1''] [''flt2''] [''flt3'']
+
| p1t        = [''object handle'']
'''Parameter'''
+
| p1d        = The handle of the object
: [''object handle'']
+
| p2t        = [''flt1'']
:: The handle of the object
+
| p2d        = X-coordinate
: [''flt1'']
+
| p3t        = [''flt2'']
:: X-coordinate
+
| p3d        = Y-coordinate
: [''flt2'']
+
| p4t        = [''flt3'']
:: Y-coordinate
+
| p4d        = Z-coordinate (or &le;''-100.0'' for [[02CE|ground z]])
: [''flt3'']
+
| native      = [[SET_OBJECT_COORDINATES]]
:: Z-coordinate (or ''-100.0'' for [[02CE|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.
 
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
 
[[Category:OpCodes]]
 

Revision as of 00:39, 20 January 2016

GTA III Vice City San Andreas SET_OBJECT_COORDINATES


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

  • GTA III Vice City San Andreas 01BB, gets the object's coordinates