isKeyActive: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Mission Information | |gr1= Mission Information | ||
| Checks whether the given key is active in the current user profile. | | Checks whether the given key is active in the current user profile. | ||
See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions. | See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions. | ||
| '''isKeyActive''' keyName | | '''isKeyActive''' keyName | ||
|p1= keyName: [[String]] | |p1= keyName: [[String]] | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>_active = [[isKeyActive]] "Mission04Key";</code> | |x1= <code>_active = [[isKeyActive]] "Mission04Key";</code> | ||
| [[activateKey]], [[deActivateKey]] | | [[activateKey]], [[deActivateKey]] | ||
}} | }} |
Revision as of 00:40, 18 January 2021
Description
- Description:
- Checks whether the given key is active in the current user profile. See keys, keysLimit and doneKeys in the description.ext file of the missions.
- Groups:
- Mission Information
Syntax
Examples
- Example 1:
_active = isKeyActive "Mission04Key";
Additional Information
- See also:
- activateKeydeActivateKey
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Mission Information
- Operation Flashpoint: Elite: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands