Difference between revisions of "0173"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 0173=2,%1d% %2d% | description = Sets the Z angle of the character | p1 = Actor handle | p2 = Z angle | game = GTA3, Vice City, San An...)
 
(page updates)
 
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''SET_CHAR_HEADING'''
| ini        = 0173=2,%1d% %2d%
+
<hr />
| description = Sets the Z [[angle]] of the character
+
'''Description'''
| p1          = Actor handle
+
: Sets the Z [[angle]] of the character
| p2          = Z angle
+
'''Syntax'''
| game        = GTA3, Vice City, San Andreas
+
: 0173: set_actor [''char handle''] z_angle_to [''flt'']
| native      = [[SET_CHAR_HEADING]]
+
: Actor.Angle( [''char handle''] ) = [''flt'']
}}
+
'''Parameter'''
 +
: [''char handle'']
 +
:: The handle of the character
 +
: [''flt'']
 +
:: Z angle
 +
'''Native analog'''
 +
: [[SET_CHAR_HEADING]]
 +
 
 
This sets the Z angle of the character. The angle is in degrees.
 
This sets the Z angle of the character. The angle is in degrees.
  
==Keywords==
+
== Keywords ==
set, actor, character, angle
+
set, actor, character, angle, heading
 +
 
 +
[[Category:OpCodes]]

Latest revision as of 18:45, 30 December 2014

GTA III Vice City San Andreas SET_CHAR_HEADING


Description

Sets the Z angle of the character

Syntax

0173: set_actor [char handle] z_angle_to [flt]
Actor.Angle( [char handle] ) = [flt]

Parameter

[char handle]
The handle of the character
[flt]
Z angle

Native analog

SET_CHAR_HEADING

This sets the Z angle of the character. The angle is in degrees.

Keywords

set, actor, character, angle, heading