secondaryWeapon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|S]]
[[Category:Scripting Commands|SECONDARYWEAPON]]
[[Category:Scripting Commands OFP 1.97|S]]
[[Category:Scripting Commands OFP 1.97|SECONDARYWEAPON]]
[[Category:Scripting Commands ArmA|S]]
[[Category:Scripting Commands ArmA|SECONDARYWEAPON]]





Revision as of 15:53, 4 May 2006


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