ignoreTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.18 |branch= dev |arg= global |gr1= Object Detection |descr= Sets a target to be ignored by this Group. It will not appear in...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
|gr1= Object Detection
|gr1= Object Detection


|descr= Sets a target to be ignored by this Group. It will not appear in [[nearTargets]] and the group will not notice its presence. [[targetKnowledge]] can be used to check if a target is currently ignored. While a unit ignored, [[reveal]] has no effect.
|descr= Sets a target to be ignored by this Group. It will not appear in [[nearTargets]] and the group will not notice its presence. [[targetKnowledge]] can be used to check if a target is currently ignored. While a unit is ignored, [[reveal]] has no effect.


|s1= group [[ignoreTarget]] target
|s1= group [[ignoreTarget]] target
Line 16: Line 16:
|p1= group : [[Object]] or [[Group]] - which receives revealing information
|p1= group : [[Object]] or [[Group]] - which receives revealing information


|p2= target: [[Object]] - which would be revealed
|p2= target: [[Object]] - which would be ignored


|r1= [[Nothing]]
|r1= [[Nothing]]
Line 24: Line 24:
|p21= group : [[Object]] or [[Group]] - which receives revealing information
|p21= group : [[Object]] or [[Group]] - which receives revealing information


|p22= target: [[Object]] - which would be revealed
|p22= target: [[Object]] - which would be ignored


|p23= isIgnored: [[Boolean]] - whether the target should be ignored
|p23= isIgnored: [[Boolean]] - whether the target should be ignored

Latest revision as of 19:27, 13 April 2024

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.18.

Description

Description:
Sets a target to be ignored by this Group. It will not appear in nearTargets and the group will not notice its presence. targetKnowledge can be used to check if a target is currently ignored. While a unit is ignored, reveal has no effect.
Groups:
Object Detection

Syntax

Syntax:
group ignoreTarget target
Parameters:
group : Object or Group - which receives revealing information
target: Object - which would be ignored
Return Value:
Nothing

Alternative Syntax

Syntax:
group ignoreTarget [target, isIgnored]
Parameters:
group : Object or Group - which receives revealing information
target: Object - which would be ignored
isIgnored: Boolean - whether the target should be ignored
Return Value:
Nothing

Examples

Example 1:
aiGroup ignoreTarget player

Additional Information

See also:
knowsAbout targetsQuery targetsAggregate nearTargets reveal targetKnowledge

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