See https://aom.heavengames.com/cgi-bin/forums/display.cgi?action=ct&f=13,30104,,10 for details of this utility for discussion.
Drop the file into your trigger2 folder. Please note the following prerequisites:
This will only work on patch 2.7. Version 2.8 and later please use the 2.8 version: http://aom.heavengames.com/downloads/showfile.php?fileid=11495. This redesign uses an internal change introduced in the patch to function properly and will therefore not work on earlier versions.
Added version allowing exclusions to improve performance on object heavy map such as escapes with a lot of projectiles. Structure is as follows:
* yaaStart Search With Exclusions (This instead of the normal start search)
* yaaAdd Search Exclusion (Use one or more of these for each unit to exclude)
* yaaEnd Search Exclusions and Start Body (Normal search code comes after this)
* Your search code
* yaaEnd Search With Exclusions (Use this instead of normal end)
[Edited on 05/30/20 @ 06:34 PM]
nottud File Author
Posted on 07/03/20 @ 07:52 AM
As mentioned previously - these triggers are NOT usable on patch 2.8. Please use the 2.8 version instead: http://aom.heavengames.com/downloads/showfile.php?fileid=11495