0176

From GTAMods Wiki
Revision as of 19:32, 19 June 2016 by Spaceeinstein (talk | contribs) (page updates)
Jump to navigation Jump to search

GTA III Vice City San Andreas GET_OBJECT_HEADING


Description
Gets the heading of the object
Syntax
0176: [var] = object [object handle] z_angle
Parameter
[var]
Variable to store the heading
[object handle]
The handle of the object
Native analog
GET_OBJECT_HEADING

This opcode gets the heading (z angle) of the object.

Compass Degrees Radians
North 0
West 90° π/2 ≈ 1.57
South 180° π ≈ 3.14
East 270° 3π/2 ≈ 4.71

Keywords

get, store, object, angle, heading

See also

  • GTA III Vice City San Andreas 0177, sets the heading of the object