GET CHAR HEADING
Revision as of 04:23, 3 February 2011 by Spaceeinstein (talk | contribs) (testing direction template)
| 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 |