isAISteeringComponentEnabled: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Add devbranch) |
||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.16 | |version1= 2.16 | ||
| | |||
|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 | |||
|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 11:16, 23 November 2023
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