lockDriver: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|arg= local |Multiplayer Arguments=
|arg= local


|eff= global |Multiplayer Effects=
|eff= global
____________________________________________________________________________________________


| 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 |DESCRIPTION=
|gr1= Object Manipulation
____________________________________________________________________________________________


| vehicle '''lockDriver''' lock |SYNTAX=
| 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


|p1= vehicle: [[Object]] -  |PARAMETER1=
| vehicle '''lockDriver''' lock


|p2= lock: [[Boolean]] - |PARAMETER2=
|p1= vehicle: [[Object]] -


|p3= |PARAMETER3=  
|p2= lock: [[Boolean]] -


| Nothing |RETURNVALUE=
| Nothing


|x1= <code>vehicleName [[lockDriver]] [[true]];</code>


|x1= <code>vehicleName [[lockDriver]] [[true]];</code>|EXAMPLE1=
|seealso= [[lock]], [[setVehicleLock]], [[lockedDriver]], [[lockCargo]], [[lockTurret]]
 
____________________________________________________________________________________________
 
[[lock]], [[setVehicleLock]], [[lockedDriver]], [[lockCargo]], [[lockTurret]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}


<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>


[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[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