primaryWeapon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:


[[String]]
[[String]]
'''Compatibility:'''
Added in version '''1.75'''


'''Description:'''
'''Description:'''

Revision as of 01:38, 17 April 2006

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