You did not clean the unit group leak correctly. What is the line at the end suppose to accomplish? You are also leaking a location at the start.
For a structured tutorial on the matter, read this. Hello guys! Credit to: Wolverabid, PurplePoot, Silvenon, Paskovich I want to make a list of things that leak and ways to fix them. Dynamic Unit Groups This trigger will instantly destroy dynamically generated unit groups. Trigger...
www.hiveworkshop.com
Your trigger will create a unit and then sequentially order that unit to attack every hero on the map, regardless of player force settings. Because the unit cannot attack instantly, only the last hero unit found in the group will actually be targeted and attacked (though the message will display for all heroes found). What are you trying to do?