aimedAtTarget: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {2,}\}\}" to " }}") |
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2oa | | arma2oa |
Revision as of 22:33, 22 January 2021
Description
- Description:
- Description needed
- Groups:
- Object ManipulationWeapons
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicle: Object
- [target, weapon]: Array
- target: Object
- weapon: String - (optional)
- Return Value:
- Return value needed
Examples
- Example 1:
_aimingQuality = heli aimedAtTarget [target];
- Example 2:
_aimingQuality = heli aimedAtTarget [target,"M197"];
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
- Posted on November 19, 2013
- Killzone_Kid
- The command doesn't work with soldier weapons, only vehicle weapons (in Arma 3 at least). The return value is either 1 or 0, very rarely the value falls in between. 1 doesn't mean you are going to hit the target, while 0 means you're definitely off.