checkAIFeature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(populated)
 
Line 32: Line 32:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Revision as of 10:54, 2 November 2011

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