shownCompass: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
Killzone Kid (talk | contribs) (description) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Checks if client has Compass enabled in [[description.ext]] (''showCompass'' param). |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''shownCompass''' |= Syntax | ||
| [[Boolean]] |= Return value | | [[Boolean]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[if]] ([[shownCompass]]) [[then]] {[[hint]] "You have | |x1= <code>[[if]] ([[shownCompass]]) [[then]] {[[hint]] "You have Compass enabled"};</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 16:49, 6 September 2014
Description
- Description:
- Checks if client has Compass enabled in description.ext (showCompass param).
- Groups:
- Uncategorised
Syntax
- Syntax:
- shownCompass
- Return Value:
- Boolean
Examples
- Example 1:
if (shownCompass) then {hint "You have Compass enabled"};
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