lockCargo: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "(\| * )+\}\}" to "}}") |
Lou Montana (talk | contribs) m (Text replacement - " {2,}\}\}" to " }}") |
||
Line 39: | Line 39: | ||
| [[lock]], [[setVehicleLock]], [[lockDriver]], [[lockedCargo]], [[lockTurret]] | | [[lock]], [[setVehicleLock]], [[lockDriver]], [[lockedCargo]], [[lockTurret]] | ||
}} | }} | ||
Revision as of 01:26, 19 January 2021
Description
- Description:
- Lock all cargo positions of a vehicle or lock by index. This command will remove user "get in" action (not get out) but will also stop player getting into vehicle via script commands (e.g moveInCargo) unlike lock command.
- Groups:
- Object Manipulation
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