OverlordZorn
as of 2.20, this does not return true when the unit is prone
Results appear below as you type; use the arrow keys to move through them.
Returns wether or not the unit is in the process of switching weapon.
isSwitchingWeapon unit
Parameters:
unit: ObjectReturns: Boolean - true if the unit is switching weapon.
isSwitchingWeapon player;
primaryWeaponMagazine · primaryWeaponItems · addPrimaryWeaponItem · removePrimaryWeaponItem · removeAllPrimaryWeaponItems · secondaryWeapon · handgunWeapon · currentWeapon · weapons · primaryWeapon · setUnitLoadout
as of 2.20, this does not return true when the unit is prone