setCompassDeclination: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (2.16 -> 2.18)
m (Text replacement - "↵|version1= 2.18" to " |version1= 2.18 |branch= dev")
 
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.18
|version1= 2.18
|branch= dev


|eff= local
|eff= local

Latest revision as of 22:50, 17 April 2024

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.18.

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: Scalar - Declination angle in radians. Use 0 to reset it to default.
Return Value:
Nothing

Examples

Example 1:
setCompassDeclination rad 10; // declination angle is 10 degrees

Additional Information

See also:
setCompassOscillation

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note