lockDriver: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) m (see also) |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
(27 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|arg= local | |arg= local | ||
|eff= global | |eff= global | ||
| | |gr1= Object Manipulation | ||
| vehicle | | 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 | | 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}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 23:54, 16 February 2021
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
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