weaponDirection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 30: Line 30:
'''Example:'''
'''Example:'''


_dir = _vehicle weaponDirection "M16"
_dir = _vehicle '''weaponDirection''' "M16"

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