lockCargo: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (locality, see also) |
||
Line 5: | Line 5: | ||
|1.00|= Game version | |1.00|= Game version | ||
|arg= local |= Arguments in MP | |||
|eff= global |= Effects in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Lock the all cargo positions of the vehicle. |= Description | | Lock the all cargo positions of the vehicle. This command must be executed where vehicle is [[local]].|= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 21: | Line 25: | ||
|x1= <code>vehicleName lockCargo true;</code>|= EXAMPLE1 | |x1= <code>vehicleName [[lockCargo]] [[true]];</code>|= EXAMPLE1 | ||
|x2= <code>vehicleName lockCargo [0, true];</code>|= EXAMPLE2 | |x2= <code>vehicleName [[lockCargo]] [0, [[true]]];</code>|= EXAMPLE2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lockedCargo]] |= SEEALSO | | [[lockedCargo]], [[lockDriver]], [[lockTurret]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 14:36, 6 December 2013
Description
- Description:
- Lock the all cargo positions of the vehicle. This command must be executed where vehicle is local.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle lockCargo lock or vehicle lockCargo [index, lock]
- Parameters:
- vehicle: Object -
- lock: Boolean -
- index: Number
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- lockedCargolockDriverlockTurret
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