setWeaponReloadingTime

From Bohemia Interactive Community
Revision as of 11:22, 10 January 2012 by Ceeeb (talk | contribs) (corrected example array)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets states and/or makes an action of/on weapon. Reload time is between 0 and 1 inclusive, where 1 is 100% of maximum reloading time.
Groups:
Uncategorised

Syntax

Syntax:
vehicle setWeaponReloadingTime [gunner, weaponName, reloadTime]
Parameters:
vehicle: Object
[gunner, weaponName, reloadTime]: Array
Return Value:
Boolean

Examples

Example 1:
_done = _vehicle setWeaponReloadingTime [gunner, , 0.5];

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

Notes

Bottom Section