useAISteeringComponent

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Enable the new AI driving, used to test the old and new AI driving.
setDriveOnPath does not work if the vehicle doesn't have an AI steering component or if it's disabled.
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:
myTank useAISteeringComponent false;

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