Difference between revisions of "0176"
Jump to navigation
Jump to search
m |
|||
Line 4: | Line 4: | ||
| description = Gets the [[heading]] of the object | | description = Gets the [[heading]] of the object | ||
| syntax1 = 0176: [''var''] = object [''object handle''] z_angle | | syntax1 = 0176: [''var''] = object [''object handle''] z_angle | ||
− | | p1t = ['' | + | | p1t = [''object handle''] |
− | | p1d = | + | | p1d = The handle of the object |
− | | p2t = ['' | + | | p2t = [''var''] |
− | | p2d = | + | | p2d = Variable to store the heading |
| native = [[GET_OBJECT_HEADING]] | | native = [[GET_OBJECT_HEADING]] | ||
}} | }} |
Latest revision as of 00:13, 20 November 2016
- Description
- Gets the heading of the object
- Syntax
- 0176: [var] = object [object handle] z_angle
- Parameter
- [object handle]
- The handle of the object
- [var]
- Variable to store the heading
- Native analog
- GET_OBJECT_HEADING
This opcode gets the heading (z angle) of the object.
Compass | Degrees |
---|---|
North | 0° |
West | 90° |
South | 180° |
East | 270° |
Keywords
get, store, object, angle, heading
See also
- 0177, sets the heading of the object