primaryWeapon

From Bohemia Interactive Community
Revision as of 02:22, 16 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

Description:

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


Example:

pWeap = primaryWeapon player