targetKnowledge: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (template:command argument fix) |
||
Line 16: | Line 16: | ||
# position error | # position error | ||
# target position | # target position | ||
|= | |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit '''targetKnowledge''' target |= | | unit '''targetKnowledge''' target |SYNTAX= | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= target: [[Object]] |= | |p2= target: [[Object]] |PARAMETER2= | ||
| [[Array]] (7 elements) |= | | [[Array]] (7 elements) |RETURNVALUE= | ||
|mp= ... |= | |mp= ... |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_allInfo = _soldierOne [[targetKnowledge]] _jeepOne;</code> |= | |x1= <code>_allInfo = _soldierOne [[targetKnowledge]] _jeepOne;</code> |EXAMPLE1= | ||
|x2= <code>_posError = (_soldierOne [[targetKnowledge]] _jeepOne) [[select]] 5;</code> |= | |x2= <code>_posError = (_soldierOne [[targetKnowledge]] _jeepOne) [[select]] 5;</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[knowsAbout]], [[targetsQuery]], [[targetsAggregate]], [[nearTargets]], [[reveal]], [[getHideFrom]] |= | | [[knowsAbout]], [[targetsQuery]], [[targetsAggregate]], [[nearTargets]], [[reveal]], [[getHideFrom]] |SEEALSO= | ||
}} | }} |
Revision as of 14:50, 7 April 2019
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
- Multiplayer:
- ...
- 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