"driverOverride":
Description: If set to true, the player can steer his current vehicle, even when he is not driver.
If the player is in a commander position, the audible movement commands can still be heard, but it is the player that will be driving the vehicle.
Syntax: driverOverride
Parameters:
Return Value: Boolean - if true, then driver override is on.
"setDriverOverride":
Description:Check if driverOverride is on.
Syntax: setDriverOverride override
Parameters:
override: Boolean
Return Value: Nothing
"setCommanderOverride"
Description: Activates commander override. Pass ObjNull to deactivate.
Syntax: unit setCommanderOverride [vehicle, weaponpath]
unit: Object -
vehicle: Object -
weaponpath: Number -
Return Value: Nothing
"remoteControl"
Description:
Applies player's movement keystrokes to the driver of a vehicle.
This allows the player to remotely control a manned vehicle, without having to issue orders, or to drive it himself. The command only works with drivers, but not with other crew members, empty vehicles, or infantry.
Only one unit can be controlled remotely. Further remoteControl commands, if the player is already controlling an AI, are ignored.
To see the driver's view, the camera can be switched to him via switchCamera. (Since the driver AI is still controlling his head movements, it may be hard to steer from that perspective, though).
Syntax: master remoteControl slave
Parameters:
master: Object - Controlling unit (set to objNull to cancel the remote control)
slave: Object - Controlled unit (vehicle driver)
Return Value: Nothing