loadMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added SEEALSO)
m (Fixed link)
Line 29: Line 29:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[weaponState]], [[setWeaponState]], [[ArmA_2:_Actions#SwitchWeapon|SwitchWeapon]], [[weapons]], [[magazines]] |= SEEALSO  
| [[weaponState]], [[setWeaponState]], [[ArmA_2:_Actions#SwitchMagazine|SwitchMagazine]], [[weapons]], [[magazines]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 19:31, 11 November 2011

Hover & click on the images for description

Description

Description:
Initiates the loading action on given weapon of the turret. So the new magazine is not available instantly, yet according to the reloadTime. The turret has to be manned and the weapon selected.
Groups:
Uncategorised

Syntax

Syntax:
vehicle loadMagazine [turretPath, weaponName, magazineName]
Parameters:
vehicle: 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:
weaponStatesetWeaponStateSwitchMagazineweaponsmagazines

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

Notes

Bottom Section