lockCargo: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Lock all cargo positions of a vehicle or lock by index. 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 all cargo positions of a vehicle or lock by index. 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= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicle '''lockCargo''' lock |= | | vehicle '''lockCargo''' lock |SYNTAX= | ||
|p1= vehicle: [[Object]] |PARAMETER1= | |p1= vehicle: [[Object]] |PARAMETER1= | ||
Line 22: | Line 22: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|s2= vehicle '''lockCargo''' [index, lock] |= | |s2= vehicle '''lockCargo''' [index, lock] |SYNTAX= | ||
|p21= vehicle: [[Object]] |PARAMETER1= | |p21= vehicle: [[Object]] |PARAMETER1= |
Revision as of 14:43, 7 April 2019
Description
- Description:
- Lock all cargo positions of a vehicle or lock by index. 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:
- Uncategorised
Syntax
Alternative Syntax
- Syntax:
- vehicle lockCargo [index, lock]
- Parameters:
- vehicle: Object
- [index, lock]: Array
- index: Number
- lock: Boolean
- Return Value:
- Nothing
Examples
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