weaponReloadingTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 8: Line 8:
|gr1= Weapons
|gr1= Weapons


|descr= Returns weapon reloading phase.
|descr= Returns current ammo round reloading phase.


|s1= vehicle [[weaponReloadingTime]] <nowiki>[gunner, muzzleName]</nowiki>
|s1= vehicle [[weaponReloadingTime]] <nowiki>[gunner, muzzleName]</nowiki>
Line 18: Line 18:
|p3= muzzleName: [[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]] - Ammo round reload phase in range 0-1. -1 when N/A.


|seealso= [[setWeaponReloadingTime]], [[weaponState]]
|seealso= [[setWeaponReloadingTime]], [[weaponState]]
}}
}}

Revision as of 21:29, 5 July 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 current ammo round reloading 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 - Ammo round reload phase in range 0-1. -1 when N/A.

Examples

Examples:
Example needed

Additional Information

See also:
setWeaponReloadingTimeweaponState

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