checkAIFeature: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 70454 by Str_bi_wiki on 2013-03-25T10:45:33Z) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
| Check if given AI feature is currently enabled. Feature may be one of: | | Check if given AI feature is currently enabled. Feature may be one of: | ||
"AwareFormationSoft", "CombatFormationSoft". |= | "AwareFormationSoft", "CombatFormationSoft". |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''checkAIFeature''' feature |= | | '''checkAIFeature''' feature |SYNTAX= | ||
|p1= feature: [[String]] |= | |p1= feature: [[String]] |PARAMETER1= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code> _featureUsed <nowiki>=</nowiki> '''checkAIFeature''' "AwareFormationSoft" </code> | |x1 = <code> _featureUsed <nowiki>=</nowiki> '''checkAIFeature''' "AwareFormationSoft" </code> | ||
| [[enableAIFeature]] |= | | [[enableAIFeature]] |SEEALSO= | ||
}} | }} |
Revision as of 14:35, 7 April 2019
Description
- Description:
- Check if given AI feature is currently enabled. Feature may be one of: "AwareFormationSoft", "CombatFormationSoft".
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_featureUsed = checkAIFeature "AwareFormationSoft"
Additional Information
- See also:
- enableAIFeature
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