useAISteeringComponent: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *T([a-z])" to "$1 - t$2") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Important|" to "{{Feature|important|") |
||
Line 11: | Line 11: | ||
|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| | {{Feature|important|[[setDriveOnPath]] does not work if the vehicle doesn't have an AI steering component or if it's disabled.}} | ||
|s1= [[useAISteeringComponent]] enabled | |s1= [[useAISteeringComponent]] enabled | ||
Revision as of 01:24, 2 February 2024
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:
- 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