addMagazineCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "{{EffArg|cmd|arg|loc}}" to "{{Icon|localArgument|32}}") |
||
Line 12: | Line 12: | ||
| Add magazines to the cargo space of vehicles, which can be taken out by infantry units. Once the magazine cargo space is filled up, any further addMagazineCargo commands are ignored. | | Add magazines to the cargo space of vehicles, which can be taken out by infantry units. Once the magazine cargo space is filled up, any further addMagazineCargo commands are ignored. | ||
{{Feature|arma3|In Arma 3, arguments for this command must be local ({{ | {{Feature|arma3|In Arma 3, arguments for this command must be local ({{Icon|localArgument|32}}). For global variant see [[addMagazineCargoGlobal]].}} | ||
| vehicleName [[addMagazineCargo]] [magazineName, count] | | vehicleName [[addMagazineCargo]] [magazineName, count] |
Revision as of 00:30, 26 January 2021
Description
- Description:
- Description needed
- Groups:
- Containers
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicleName: Object - vehicle to add the magazines to
- [magazineName, count]: Array
- magazineName: String - magazine name. See Category:Weapons for reference about possible values.
- count: Number - number of magazines to add
- Return Value:
- Return value needed
Examples
- Example 1:
_truck addMagazineCargo ["M16", 5];
Additional Information
- See also:
- See also needed
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
- Posted on October 24, 2009 - 11:02, (CEST)
- Sbsmac
- Only works on clients.