weaponDirection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:




<h2 style="color:#000066">''''' weaponDirection '''''</h2>
<h2 style="color:#000066">'''''vehicle'' weaponDirection ''weaponName'''''</h2>




'''Operand types:'''
'''Operand types:'''
vehicle: [[Object]]
weaponName: [[String]]


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


'''Compatibility:'''
'''Compatibility:'''
Version 2.61 required.


'''Description:'''
'''Description:'''
Returns the direction that the given weapon is pointing at.




'''Example:'''
'''Example:'''
_dir = _vehicle weaponDirection "M16"

Revision as of 13:34, 29 June 2006


<new command not populated>


vehicle weaponDirection weaponName


Operand types:

vehicle: Object

weaponName: String

Type of returned value:

Array

Compatibility:

Version 2.61 required.

Description:

Returns the direction that the given weapon is pointing at.


Example:

_dir = _vehicle weaponDirection "M16"