loadMagazine: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (format) |
Killzone Kid (talk | contribs) (changed vehicle for transport to avoid confusion) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Initiates the loading action on given weapon of the turret. 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. |= Description | 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]|= Syntax | ||
|p1= | |p1= transport: [[Object]] |= Parameter 1 | ||
|p2= turretPath: [[Array]] |= Parameter 2 | |p2= turretPath: [[Array]] |= Parameter 2 |
Revision as of 21:48, 26 January 2016
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