weaponReloadingTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |game1= arma3 |version1= 2.06 |branch= dev " to " |game1= arma3 |version1= 2.06 ")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 18: Line 18:
|r1= [[Number]] - ammo round 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:49, 20 January 2022

Hover & click on the images for description

Description

Description:
Returns current ammo round reloading phase. For a magazine reloading phase see weaponState command.
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:
setWeaponReloadingTime weaponState

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