loadMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 17: Line 17:
The turret has to be manned. One can also change the magazine if its respective weapon is not selected.
The turret has to be manned. One can also change the magazine if its respective weapon is not selected.


| transport [[loadMagazine]] [turretPath, weaponName, magazineName]
|s1=  transport [[loadMagazine]] [turretPath, weaponName, magazineName]


|p1= transport: [[Object]]
|p1= transport: [[Object]]

Revision as of 00:15, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
WeaponsTurrets

Syntax

Syntax:
transport loadMagazine [turretPath, weaponName, magazineName]
Parameters:
transport: Object
turretPath: Array
weaponName: String
magazineName: String
Return Value:
Nothing

Examples

Example 1:
vehicle player loadMagazine [[0], "m256", "20Rnd_120mmHE_M1A2"];

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