lockDriver: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
 
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
(35 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{RV|type=command


[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
| arma2
 
|1.00
 
|arg= local
 
|eff= global
 
|gr1= Object Manipulation
 
| 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
 
| vehicle '''lockDriver''' lock
 
|p1= vehicle: [[Object]] -
 
|p2= lock: [[Boolean]] -
 
| Nothing
 
|x1= <code>vehicleName [[lockDriver]] [[true]];</code>
 
|seealso= [[lock]], [[setVehicleLock]], [[lockedDriver]], [[lockCargo]], [[lockTurret]]
}}
 
 
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 00:54, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object -
lock: Boolean -
Return Value:
Return value needed

Examples

Example 1:
vehicleName lockDriver true;

Additional Information

See also:
locksetVehicleLocklockedDriverlockCargolockTurret

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