Difference between revisions of "secondaryWeapon"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 3: Line 3:
 
[[Category:Scripting Commands ArmA|S]]
 
[[Category:Scripting Commands ArmA|S]]
  
back to [[Scripting_Reference#S|COMREF]]
 
  
 
<h2 style="color:#000066">'''secondaryWeapon ''vehicle'''''</h2>
 
<h2 style="color:#000066">'''secondaryWeapon ''vehicle'''''</h2>

Revision as of 11:27, 23 April 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