loadMagazine: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
| Initiates the loading action on given weapon of the turret of a transport. So the new magazine is not available instantly, yet according to the reloadTime. | | Initiates the loading action on given weapon of the turret of a transport. So the new magazine is not available instantly, yet according to the reloadTime. | ||
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. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| transport '''loadMagazine''' [turretPath, weaponName, magazineName]|= | | transport '''loadMagazine''' [turretPath, weaponName, magazineName]|SYNTAX= | ||
|p1= transport: [[Object]] |= | |p1= transport: [[Object]] |PARAMETER1= | ||
|p2= turretPath: [[Array]] |= | |p2= turretPath: [[Array]] |PARAMETER2= | ||
|p3= weaponName: [[String]] |= | |p3= weaponName: [[String]] |PARAMETER3= | ||
|p4= magazineName: [[String]] |= | |p4= magazineName: [[String]] |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:43, 7 April 2019
Description
- Description:
- Initiates the loading action on given weapon of the turret of a transport. So the new magazine is not available instantly, yet according to the reloadTime. The turret has to be manned. One can also change the magazine if its respective weapon is not selected.
- Groups:
- Uncategorised
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:
- magazinesTurretaddMagazineTurretreloadweaponStatesetWeaponReloadingTimeweaponsmagazinesSwitchMagazine
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