setCompassDeclination: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ") Tag: Manual revert |
m (fixed data type) |
||
| Line 12: | Line 12: | ||
|s1= [[setCompassDeclination]] angleRad | |s1= [[setCompassDeclination]] angleRad | ||
|p1= angleRad: [[ | |p1= angleRad: [[Number]] - Declination angle in radians. Use 0 to reset it to default. | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Latest revision as of 14:22, 4 January 2026
Description
- Description:
- Sets the declination angle of player's compass, which is the difference between magnetic north and true north.
- Groups:
- Interaction
Syntax
- Syntax:
- setCompassDeclination angleRad
- Parameters:
- angleRad: Number - Declination angle in radians. Use 0 to reset it to default.
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- setCompassOscillation
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note