targetKnowledge: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}}") |
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "") |
||
Line 42: | Line 42: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|KNOWSABOUT]] | [[Category:Scripting Commands|KNOWSABOUT]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] |
Revision as of 15:04, 24 September 2020
Description
- Description:
- Returns unit's knowledge about target. The returned array includes information whether the target is
- known by group
- known by the unit
- last time the target was seen by the unit
- last time the target endangered the unit
- target side
- position error
- target position
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit targetKnowledge target
- Parameters:
- unit: Object
- target: Object
- Return Value:
- Array (7 elements)
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