Difference between revisions of "01BC"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
Line 16: Line 16:
  
 
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 ==

Latest revision as of 05:38, 1 February 2017

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.

Example

See 0392#Example

Keywords

put, place, warp, set, object, position, coordinates

See also

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