weapons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
   
  back to [[Scripting_Reference#W|COMREF]]
 
<h2 style="color:#000066">'''weapons ''vehicle'''''</h2>
<h2 style="color:#000066">'''weapons ''vehicle'''''</h2>


'''Operand types:'''
'''Operand types:'''
Line 6: Line 8:
'''vehicle:''' [[Object]]
'''vehicle:''' [[Object]]


'''Type of returned value:''' [[Array]]
'''Type of returned value:'''
 
[[Array]]


'''Description:'''
'''Description:'''
Line 14: Line 18:
'''Example:'''
'''Example:'''


wArray = '''weapons''' player
wArray = '''weapons''' [[player]]

Revision as of 15:54, 15 April 2006

back to COMREF

weapons vehicle


Operand types:

vehicle: Object

Type of returned value:

Array

Description:

Returns array of names of all vehicle's weapons.

Example:

wArray = weapons player