weaponDirection: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 29: | Line 29: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
Returned direction is an array | Returned direction is an array holding a direction vector, see [[vectorDir]], with 3 components, each with values between -1 and 1. | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 01:50, 6 April 2007
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 holding a direction vector, see vectorDir, with 3 components, each with values between -1 and 1.