lockDriver

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.001.00Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions

Description

Description:
Lock the driver position of the vehicle. This command must be executed where vehicle is local. This command will remove user get in action (not get out) but will also stop player getting into vehicle via script commands unlike lock command

Syntax

Syntax:
vehicle lockDriver lock
Parameters:
vehicle: Object -
lock: Boolean -
Return Value:
Nothing

Examples

Example 1:
vehicleName lockDriver true;

Additional Information

See also:
locksetVehicleLocklockedDriverlockCargolockTurret
Groups:
Object Manipulation

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section