secondaryWeapon
Jump to navigation
Jump to search
secondaryWeapon vehicle
Operand types:
vehicle: Object
Type of returned value:
Compatibility:
Added in version 1.75
Description:
Returns name of vehicle's secondary weapon (empty string if none).
Example:
sWeap = secondaryWeapon player
Comments:
secondaryWeapon tells you what weapon the unit has irrespective of the status of the weapon. For example a unit that has a LAWLauncher on his back will still report a LAWLauncher as its secondary weapon. There is no command that will enable you to detect the active weapon.