Description
Checks if the given AI feature is currently enabled.
Syntax
Syntax 1
checkAIFeature feature
Parameters:
feature: String - can be one of:"AwareFormationSoft""CombatFormationSoft"- AI skill - see disableAI#Syntax 1 (since Arma 3 v1.96)
Returns: Boolean - true if is enabled
Syntax 2
since arma3 1.96
unit checkAIFeature feature
Parameters:
Returns: Boolean - true if is enabled
Examples
Example 1
_featureUsed = checkAIFeature "AwareFormationSoft";
Example 2
_autotargetOn = bob checkAIFeature "AUTOTARGET";