Difference between revisions of "0171"
Jump to navigation
Jump to search
(updating page) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Icon|3}} {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|3}} {{Icon|VC}} | |
− | + | | command = SET_PLAYER_HEADING | |
− | + | | description = Sets the [[heading]] of the player | |
− | + | | syntax1 = 0171: set_player [''player handle''] z_angle_to [''flt''] | |
− | + | | p1t = [''player handle''] | |
− | + | | p1d = The [[0053|handle of the player]] | |
− | + | | p2t = [''flt''] | |
− | + | | p2d = Heading in degrees | |
− | + | }} | |
− | |||
− | |||
− | This opcode sets the heading ( | + | This opcode sets the heading (z angle) of the player. |
− | |||
− | {{direction|deg | + | {{direction|deg}} |
== Keywords == | == Keywords == | ||
set, player, angle, heading | set, player, angle, heading | ||
− | [[ | + | == See also == |
+ | * {{Icon|3}} {{Icon|VC}} [[0170]], gets the heading of the player | ||
+ | * {{Icon|t}} [[0173]], sets the heading of the character |
Latest revision as of 01:00, 14 November 2016
- Description
- Sets the heading of the player
- Syntax
- 0171: set_player [player handle] z_angle_to [flt]
- Parameter
- [player handle]
- The handle of the player
- [flt]
- Heading in degrees
This opcode sets the heading (z angle) of the player.
Compass | Degrees |
---|---|
North | 0° |
West | 90° |
South | 180° |
East | 270° |
Keywords
set, player, angle, heading