isUsingAISteeringComponent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ")
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.16
|version1= 2.18
 
|gr1= AI Behaviour
 
|descr= Returns whether the [[useAISteeringComponent|AI steering component]] setting is enabled globally.
|descr= Returns whether the [[useAISteeringComponent|AI steering component]] setting is enabled globally.
|gr1= AI Behaviour


|s1= [[isUsingAISteeringComponent]]
|s1= [[isUsingAISteeringComponent]]
|r1= [[Boolean]]
|r1= [[Boolean]]
|x1= <sqf>
if (isUsingAISteeringComponent) then
{
useAISteeringComponent false;
};
</sqf>
|seealso= [[useAISteeringComponent]] [[isAISteeringComponentEnabled]]
|seealso= [[useAISteeringComponent]] [[isAISteeringComponentEnabled]]
}}
}}

Latest revision as of 16:08, 8 October 2024

Hover & click on the images for description

Description

Description:
Returns whether the AI steering component setting is enabled globally.
Groups:
AI Behaviour

Syntax

Syntax:
isUsingAISteeringComponent
Return Value:
Boolean

Examples

Example 1:
if (isUsingAISteeringComponent) then { useAISteeringComponent false; };

Additional Information

See also:
useAISteeringComponent isAISteeringComponentEnabled

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