weaponDirection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
'''Operand types:'''
'''Operand types:'''


vehicle: [[Object]]
'''vehicle:''' [[Object]]


weaponName: [[String]]
'''weaponName:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''

Revision as of 14:39, 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"