weaponReloadingTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 10: Line 10:
|descr= Returns weapon reload phase.
|descr= Returns weapon reload phase.


|s1= vehicle [[weaponReloadingTime]] <nowiki>[gunner, muzzle]</nowiki>
|s1= vehicle [[weaponReloadingTime]] <nowiki>[gunner, muzzleName]</nowiki>


|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]
Line 16: Line 16:
|p2= gunner: [[Object]] - gunner of desired turret
|p2= gunner: [[Object]] - gunner of desired turret


|p3= muzzle: [[String]] - muzzle on desired turret
|p3= muzzleName: [[String]] - muzzle on desired turret


|r1= [[Number]] - Reload phase in range 0-1. -1 when N/A.
|r1= [[Number]] - Reload phase in range 0-1. -1 when N/A.

Revision as of 08:53, 22 June 2021

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.06.

Description

Description:
Returns weapon reload phase.
Groups:
Weapons

Syntax

Syntax:
vehicle weaponReloadingTime [gunner, muzzleName]
Parameters:
vehicle: Object
gunner: Object - gunner of desired turret
muzzleName: String - muzzle on desired turret
Return Value:
Number - Reload phase in range 0-1. -1 when N/A.

Examples

Examples:
Example needed

Additional Information

See also:
setWeaponReloadingTime

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