01BB

From GTAMods Wiki
Revision as of 05:40, 1 February 2017 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas GET_OBJECT_COORDINATES


Description
Gets the object's coordinates point
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
GET_OBJECT_COORDINATES

This opcode gets the x, y, and z-coordinates of the center of mass of the object.

Example

See 0392#Example

Keywords

get, store, object, position, coordinates, location

See also

  • GTA III Vice City San Andreas 01BC, sets the object's coordinates