checkAIFeature: Difference between revisions

From Bohemia Interactive Community
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". |= Description
"AwareFormationSoft", "CombatFormationSoft". |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''checkAIFeature''' feature |= Syntax
| '''checkAIFeature''' feature |SYNTAX=


|p1= feature: [[String]] |= Parameter 1
|p1= feature: [[String]] |PARAMETER1=


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code> _featureUsed <nowiki>=</nowiki> '''checkAIFeature''' "AwareFormationSoft" </code>
|x1 = <code> _featureUsed <nowiki>=</nowiki> '''checkAIFeature''' "AwareFormationSoft" </code>
| [[enableAIFeature]] |= See also
| [[enableAIFeature]] |SEEALSO=


}}
}}

Revision as of 15:35, 7 April 2019

Hover & click on the images for description

Description

Description:
Check if given AI feature is currently enabled. Feature may be one of: "AwareFormationSoft", "CombatFormationSoft".
Groups:
Uncategorised

Syntax

Syntax:
checkAIFeature feature
Parameters:
feature: String
Return Value:
Boolean

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

Notes

Bottom Section