as of 2.20, this does not return true when the unit is prone
Description
Returns wether or not the unit is in the process of switching weapon.
Syntax
isSwitchingWeapon unit
Parameters:
unit: Object
Returns: Boolean - true if the unit is switching weapon.
Examples
Example 1
isSwitchingWeapon player;
See also
primaryWeaponMagazine · primaryWeaponItems · addPrimaryWeaponItem · removePrimaryWeaponItem · removeAllPrimaryWeaponItems · secondaryWeapon · handgunWeapon · currentWeapon · weapons · primaryWeapon · setUnitLoadout