Arma 3 Scripting

setCompassDeclination

  • Local effect
  • Arma 3 v2.18

Command · Markdown · JSON · 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