useAISteeringComponent: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "{{ExternalLink|" to "{{Link|")  | 
				 (new syntax 2.16)  | 
				||
| Line 9: | Line 9: | ||
|descr= Enable the new {{Link|link= https://forums.bistudio.com/topic/191515-ai-driving-feedback-topic/|text= AI driving}}, used to test the old and new AI driving.  | |descr= Enable the new {{Link|link= https://forums.bistudio.com/topic/191515-ai-driving-feedback-topic/|text= AI driving}}, used to test the old and new AI driving.  | ||
{{Feature|Important|[[setDriveOnPath]] does not work if the vehicle doesn't have an AI steering component or if it's disabled.}}  | |||
|s1= [[useAISteeringComponent]] enabled  | |||
|p1= enabled: [[Boolean]]  | |||
|p1=   | |||
|r1= [[Nothing]]  | |r1= [[Nothing]]  | ||
|s2= {{GVI|arma3|2.16}} vehicle [[useAISteeringComponent]] enabled  | |||
|p21=vehicle: [[Object]] - The vehicle to enable/disable the feature for  | |||
|p22=enabled: [[Boolean]]  | |||
|r2=  | |||
|x1= <sqf>useAISteeringComponent true;</sqf>  | |x1= <sqf>useAISteeringComponent true;</sqf>  | ||
|x2= <sqf>myTank useAISteeringComponent false;</sqf>  | |||
|seealso= [[sendSimpleCommand]] [[enableAI]] [[disableAI]] [[enableAIFeature]] [[vehicleMoveInfo]]  | |seealso= [[isUsingAISteeringComponent]] [[isAISteeringComponentEnabled]] [[sendSimpleCommand]] [[enableAI]] [[disableAI]] [[enableAIFeature]] [[vehicleMoveInfo]]  | ||
}}  | }}  | ||
Revision as of 17:43, 10 October 2023
Description
- Description:
 - Enable the new AI driving, used to test the old and new AI driving.
 - Groups:
 - AI Behaviour
 
Syntax
- Syntax:
 - useAISteeringComponent enabled
 - Parameters:
 - enabled: Boolean
 - Return Value:
 - Nothing
 
Alternative Syntax
- Syntax:
 
 2.16 vehicle useAISteeringComponent enabled- Parameters:
 - vehicle: Object - The vehicle to enable/disable the feature for
 - enabled: Boolean
 - Return Value:
 - Nothing
 
Examples
- Example 1:
 - useAISteeringComponent true;
 - Example 2:
 
Additional Information
- See also:
 - isUsingAISteeringComponent isAISteeringComponentEnabled sendSimpleCommand enableAI disableAI enableAIFeature vehicleMoveInfo
 
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