isAISteeringComponentEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Add devbranch)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.16
|version1= 2.16
|descr= Returns whether the [[useAISteeringComponent|AI steering component]] feature is enabled for the specified vehicle.
 
|branch= dev
 
|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]]
}}
}}

Revision as of 12:16, 23 November 2023

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.16.

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