weaponDirection

From Bohemia Interactive Community
Revision as of 11:57, 5 April 2007 by Mandoble (talk | contribs) (returned direction description)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

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

Syntax

Syntax:
vehicle weaponDirection weaponName
Parameters:
vehicle: Object
weaponName: String
Return Value:
Array

Examples

Example 1:
_dir = _vehicle weaponDirection "M16"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Returned direction is an array like a vectorDir with 3 components [N/S, E/W, Up/Down], each with values between -1 and 1.

Bottom Section