Arma 3 Scripting

Command in Interaction

setCompassDeclination

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the declination angle of player's compass, which is the difference between magnetic north and true north.

Syntax

setCompassDeclination angleRad

Parameters:

Returns: Nothing

Examples

Example 1

setCompassDeclination rad 10; // declination angle is 10 degrees

See also

setCompassOscillation