Description
Returns the name of a unit's secondary weapon (launcher). To detect the weapon which is currently being used by the unit use currentWeapon.
Syntax
secondaryWeapon unit
Parameters:
unit: Object
Returns: String - class name of the secondary weapon or "" if none available
Examples
Example 1
private _secondaryWeapon = secondaryWeapon player;
Example 2
hint secondaryWeapon player; // "launch_NLAW_F"
See also
secondaryWeaponMagazine · secondaryWeaponItems · addSecondaryWeaponItem · primaryWeapon · handgunWeapon · currentWeapon · weapons