weaponReloadingTime: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
|descr= Returns current ammo round reloading phase. For a magazine reloading phase see [[weaponState]] command. | |descr= Returns current ammo round reloading phase. For a magazine reloading phase see [[weaponState]] command. | ||
|s1= vehicle [[weaponReloadingTime]] | |s1= vehicle [[weaponReloadingTime]] [gunner, muzzleName] | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
Line 16: | Line 16: | ||
|p3= muzzleName: [[String]] - muzzle on desired turret | |p3= muzzleName: [[String]] - muzzle on desired turret | ||
|r1= [[Number]] - ammo round reload phase in range 0 | |r1= [[Number]] - ammo round reload phase in range 0..1; -1 when N/A | ||
|seealso= [[setWeaponReloadingTime]] [[weaponState]] | |seealso= [[setWeaponReloadingTime]] [[weaponState]] [[weaponsInfo]] | ||
}} | }} |
Latest revision as of 15:16, 14 November 2023
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 weaponsInfo
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