addMagazineCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 28: | Line 28: | ||
|eff= local | |eff= local | ||
| 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. | |descr= 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 ({{Icon|localArgument|32}}). For global variant see [[addMagazineCargoGlobal]].}} | {{Feature|arma3|In Arma 3, arguments for this command must be local ({{Icon|localArgument|32}}). For global variant see [[addMagazineCargoGlobal]].}} | ||
Revision as of 21:53, 13 June 2021
Description
- Description:
- 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.
- Groups:
- Containers
Syntax
- Syntax:
- vehicleName addMagazineCargo [magazineName, count]
- 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:
- Nothing
Examples
- Example 1:
_truck addMagazineCargo ["M16", 5];
Additional Information
- See also:
- addMagazineCargoGlobaladdMagazineaddMagazineGlobaladdMagazinesaddMagazinePooladdMagazineTurretclearMagazineCargoaddWeaponCargoclearWeaponCargogetMagazineCargoaddItemCargoaddItemCargoGlobaladdMagazineAmmoCargo
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.