isAISteeringComponentEnabled: 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 ")
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.16
|version1= 2.18
|descr= Returns whether the [[useAISteeringComponent|AI steering component]] feature is enabled for the specified vehicle.
 
|arg= local
|arg= local
|gr1= AI Behaviour
|gr1= AI Behaviour
|descr= Returns whether the [[useAISteeringComponent|AI steering component]] feature is enabled for the specified vehicle.


|s1= [[isAISteeringComponentEnabled]] vehicle
|s1= [[isAISteeringComponentEnabled]] vehicle
|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]
|r1= [[Boolean]] - [[true]] if AI steering component is supported by the vehicle (i.e. defined in config) and enabled. [[false]] otherwise.
 
|r1= [[Boolean]] - [[true]] if AI steering component is supported by the vehicle (i.e. defined in config) and enabled, [[false]] otherwise
 
|x1= <sqf>isAISteeringComponentEnabled myTank;</sqf>
|x1= <sqf>isAISteeringComponentEnabled myTank;</sqf>
|seealso= [[useAISteeringComponent]] [[isUsingAISteeringComponent]]
|seealso= [[useAISteeringComponent]] [[isUsingAISteeringComponent]]
}}
}}

Latest revision as of 16:08, 8 October 2024

Hover & click on the images for description

Description

Description:
Returns whether the AI steering component feature is enabled for the specified vehicle.
Groups:
AI Behaviour

Syntax

Syntax:
isAISteeringComponentEnabled vehicle
Parameters:
vehicle: Object
Return Value:
Boolean - true if AI steering component is supported by the vehicle (i.e. defined in config) and enabled, false otherwise

Examples

Example 1:
isAISteeringComponentEnabled myTank;

Additional Information

See also:
useAISteeringComponent isUsingAISteeringComponent

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