targetKnowledge: Difference between revisions
Jump to navigation
Jump to search
(formatting) |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 23: | Line 23: | ||
* 5: [[Number]] - Position error | * 5: [[Number]] - Position error | ||
* 6: [[Array]] - Target position in format [[Position]] | * 6: [[Array]] - Target position in format [[Position]] | ||
|x1= <code>_allInfo = _soldierOne [[targetKnowledge]] _jeepOne;</code> | |x1= <code>_allInfo = _soldierOne [[targetKnowledge]] _jeepOne;</code> | ||
Revision as of 20:15, 10 June 2021
Description
- Description:
- Returns unit's knowledge about target.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- unit targetKnowledge target
- Parameters:
- unit: Object
- target: Object
- Return Value:
- Array - Array in format
Examples
- Example 1:
_allInfo = _soldierOne targetKnowledge _jeepOne;
- Example 2:
_posError = (_soldierOne targetKnowledge _jeepOne) select 5;
Additional Information
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