lockCargo: Difference between revisions
Categories: Scripting CommandsIntroduced with Arma 2 version 1.00Arma 2: New Scripting CommandsArma 2: Scripting CommandsArma 2: Operation Arrowhead: Scripting CommandsTake On Helicopters: Scripting CommandsArma 3: Scripting CommandsCommand Group: Object ManipulationScripting Commands: Global Effect
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
||
Line 22: | Line 22: | ||
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. | 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. | ||
|s1= | |s1= vehicle [[lockCargo]] lock | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] |
Revision as of 23:20, 19 June 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
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