lockDriver: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|arg= local | |arg= local | ||
|eff= global | |eff= global | ||
|gr1= Object Manipulation | |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 | | 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 | | vehicle '''lockDriver''' lock | ||
|p1= vehicle: [[Object]] - | |p1= vehicle: [[Object]] - | ||
|p2= lock: [[Boolean]] - | |p2= lock: [[Boolean]] - | ||
|p3 | |p3= | ||
| Nothing | | Nothing | ||
|x1= <code>vehicleName [[lockDriver]] [[true]];</code> | |x1= <code>vehicleName [[lockDriver]] [[true]];</code> | ||
| [[lock]], [[setVehicleLock]], [[lockedDriver]], [[lockCargo]], [[lockTurret]] | | [[lock]], [[setVehicleLock]], [[lockedDriver]], [[lockCargo]], [[lockTurret]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 02:06, 18 January 2021
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
- Groups:
- Object Manipulation
Syntax
Examples
- Example 1:
vehicleName lockDriver true;
Additional Information
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