Difference between revisions of "GET CHAR HEADING"
Jump to navigation
Jump to search
(New page: {{Native |np=2 |p1t=handle |p1d=char handle |p2t=float |p2d=variable to store char heading }} Gets character heading in degrees. {| {{Prettytable}} |- ! Heading ! Compass Direction |- ...) |
(testing direction template) |
||
Line 7: | Line 7: | ||
}} | }} | ||
− | Gets character heading in degrees. | + | Gets the character's heading in degrees. |
− | {| | + | {{direction|deg=1}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 04:23, 3 February 2011
Number of parameters: 2 | ||
---|---|---|
Parameter # | Type | Description |
1. | handle | char handle |
2. | float | variable to store char heading |
Return value: | ||
Type | Description | |
None |
Gets the character's heading in degrees.
Compass | Degrees | Radians |
---|---|---|
North | 0° | 0 |
West | 90° | π/2 ≈ 1.57 |
South | 180° | π ≈ 3.14 |
East | 270° | 3π/2 ≈ 4.71 |