Difference between revisions of "0172"
Jump to navigation
Jump to search
m |
m |
||
Line 5: | Line 5: | ||
| syntax1 = 0172: [''var''] = actor [''char handle''] z_angle | | syntax1 = 0172: [''var''] = actor [''char handle''] z_angle | ||
| p1t = [''var''] | | p1t = [''var''] | ||
− | | p1d = Variable to store the heading | + | | p1d = Variable to store the heading, a floating-point value |
| p2t = [''char handle''] | | p2t = [''char handle''] | ||
| p2d = The handle of the character | | p2d = The handle of the character | ||
Line 11: | Line 11: | ||
}} | }} | ||
− | This opcode gets the heading ( | + | This opcode gets the heading (z angle) of the character. |
{{direction|deg}} | {{direction|deg}} |
Revision as of 01:08, 11 November 2016
- Description
- Gets the heading of the character
- Syntax
- 0172: [var] = actor [char handle] z_angle
- Parameter
- [var]
- Variable to store the heading, a floating-point value
- [char handle]
- The handle of the character
- Native analog
- GET_CHAR_HEADING
This opcode gets the heading (z angle) of the character.
Compass | Degrees |
---|---|
North | 0° |
West | 90° |
South | 180° |
East | 270° |
Keywords
get, store, actor, character, angle, heading