isAISteeringComponentEnabled: Difference between revisions
 (Created page with "{{RV|type=command  |game1= arma3 |version1= 2.16 |descr= Returns whether the AI steering component setting is enabled for the specified vehicle. |ar...")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ")  | 
				||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 2: | Line 2: | ||
|game1= arma3  | |game1= arma3  | ||
|version1= 2.  | |version1= 2.18  | ||
|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  | |||
|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
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
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