Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.31

Description

Description:

Sets the magnetic declination (to affect compass readings).

This overrides any declination settings, defined in the map configuration.

Syntax

Syntax:setDeclination angle
Parameters:
  • angle: Number - Can be positive or negative.
Return Value:Nothing

Examples

Examples:
setDeclination 5;

Additional Information

See also: getDeclination
Multiplayer:
Problems:

Notes