Difference between revisions of "0173"
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: | ||
| − | {{ | + | {{Icon|trilogy}} '''SET_CHAR_HEADING''' |
| − | + | <hr /> | |
| − | + | '''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. | 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
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
This sets the Z angle of the character. The angle is in degrees.
Keywords
set, actor, character, angle, heading