Difference between revisions of "0176"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
Line 13: Line 13:
 
This opcode gets the heading (z angle) of the object.
 
This opcode gets the heading (z angle) of the object.
  
{{direction|deg=1}}
+
{{direction|deg}}
  
 
== Keywords ==
 
== Keywords ==

Revision as of 20:29, 10 November 2016

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
North
West 90°
South 180°
East 270°

Keywords

get, store, object, angle, heading

See also

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