Difference between revisions of "0170"
Jump to navigation
Jump to search
m |
|||
Line 4: | Line 4: | ||
| description = Gets the [[heading]] of the player | | description = Gets the [[heading]] of the player | ||
| syntax1 = 0170: [''var''] = player [''player handle''] z_angle | | syntax1 = 0170: [''var''] = player [''player handle''] z_angle | ||
− | | p1t = ['' | + | | p1t = [''player handle''] |
− | | p1d = | + | | p1d = The [[0053|handle of the player]] |
− | | p2t = ['' | + | | p2t = [''var''] |
− | | p2d = | + | | p2d = Variable to store the heading, a floating-point value |
}} | }} | ||
Latest revision as of 00:12, 20 November 2016
- Description
- Gets the heading of the player
- Syntax
- 0170: [var] = player [player handle] z_angle
- Parameter
- [player handle]
- The handle of the player
- [var]
- Variable to store the heading, a floating-point value
This opcode gets the heading (z angle) of the player.
Compass | Degrees |
---|---|
North | 0° |
West | 90° |
South | 180° |
East | 270° |
Keywords
get, store, player, angle, heading