setCompassDeclination: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.16 |eff= local |gr1= Interaction |descr= Set the {{Link|https://en.wikipedia.org/wiki/Magnetic_declination|declination angle}}...") |
Lou Montana (talk | contribs) m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ") Tag: Manual revert |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2. | |version1= 2.18 | ||
|eff= local | |eff= local | ||
Line 8: | Line 8: | ||
|gr1= Interaction | |gr1= Interaction | ||
|descr= | |descr= Sets the {{Link|https://en.wikipedia.org/wiki/Magnetic_declination|declination angle}} of player's compass, which is the difference between magnetic north and true north. | ||
|s1= [[setCompassDeclination]] angleRad | |s1= [[setCompassDeclination]] angleRad | ||
Line 16: | Line 16: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf>setCompassDeclination rad 10;</sqf> | |x1= <sqf>setCompassDeclination rad 10; // declination angle is 10 degrees</sqf> | ||
|seealso= [[setCompassOscillation]] | |seealso= [[setCompassOscillation]] | ||
}} | }} |
Latest revision as of 16:08, 8 October 2024
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:
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