secondaryWeapon: 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 12:08, 17 April 2006

back to COMREF

secondaryWeapon vehicle


Operand types:

vehicle: Object

Type of returned value:

String

Compatibility:

Added in version 1.75

Description:

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


Example:

sWeap = secondaryWeapon player