primaryWeapon

From Bohemia Interactive Community
Revision as of 15:03, 19 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


back to COMREF

primaryWeapon vehicle


Operand types:

vehicle: Object

Type of returned value:

String

Compatibility:

Added in version 1.75

Description:

Returns name of vehicle's primary weapon (empty string if none).


Example:

pWeap = primaryWeapon player