shownCompass: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Killzone Kid (talk | contribs) (see also) |
||
Line 15: | Line 15: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[if]] ([[shownCompass]]) [[then]] {[[hint]] "You have a compass}; | |x1= <code>[[if]] ([[shownCompass]]) [[then]] {[[hint]] "You have a compass"};</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[showCompass]], [[visibleCompass]] |= See also | | [[showCompass]], [[showGPS]], [[showWatch]], [[visibleCompass]] |= See also | ||
}} | }} |
Revision as of 23:20, 28 May 2014
Description
- Description:
- Check if player has compass enabled.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
if (shownCompass) then {hint "You have a compass"};
Additional Information
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters