setWeaponReloadingTime

From Bohemia Interactive Community
Revision as of 10:20, 10 January 2012 by Ceeeb (talk | contribs) (New command - replaces setWeaponState maybe???)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
[reloadInstantly, 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