{"name":"ignoreTarget","operator":null,"title":"ignoreTarget","type":"command","url":"https://community.bistudio.com/wiki/ignoreTarget","revid":369769,"updated":"2024-10-08T15:08:58Z","groups":["Object Detection"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.18"}],"since":{"game":"arma3","name":"Arma 3","version":"2.18"},"arma3_since":"2.18","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"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.","syntaxes":[{"syntax":"group ignoreTarget target","since":null,"effect":null,"exec":null,"params":[{"name":"group","type":"Object or Group","optional":false,"default":null,"description":"which receives revealing information","types":["Object","Group"],"since":null,"text":"group : Object or Group - which receives revealing information"},{"name":"target","type":"Object","optional":false,"default":null,"description":"which would be ignored","types":["Object"],"since":null,"text":"target: Object - which would be ignored"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"group","types":["Object","Group"]},"right":{"text":"target","types":["Object"]}},{"syntax":"group ignoreTarget [target, isIgnored]","since":null,"effect":null,"exec":null,"params":[{"name":"group","type":"Object or Group","optional":false,"default":null,"description":"which receives revealing information","types":["Object","Group"],"since":null,"text":"group : Object or Group - which receives revealing information"},{"name":"target","type":"Object","optional":false,"default":null,"description":"which would be ignored","types":["Object"],"since":null,"text":"target: Object - which would be ignored"},{"name":"isIgnored","type":"Boolean","optional":false,"default":null,"description":"whether the target should be ignored","types":["Boolean"],"since":null,"text":"isIgnored: Boolean - whether the target should be ignored"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"group","types":["Object","Group"]},"right":{"text":"[target, isIgnored]","types":["Array"]}}],"examples":[{"text":"```sqf\naiGroup ignoreTarget player\n```","code":["aiGroup ignoreTarget player"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["knowsAbout","targetsQuery","targetsAggregate","nearTargets","reveal","targetKnowledge"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Detection","Introduced with Arma 3 version 2.18","Scripting Commands"]}