Ok, so, I've been optimizing my triggers, and I see this...
It seems to run the trigger everytime a unit attacks within the region. I can't figure this out and its a huge waste on resources. I just want it to do the trigger once per unit that enters it.
Missiles are units. The trigger is firing when units use ranged projectile attacks within the region would be my guess.
Also you clipped the part of the window that shows whether or not its actually a drain on resources. Just because something runs very often doesn't mean it's slowing down your game, that's why you have to look at execution time.
Ok, so, I've been optimizing my triggers, and I see this...
It seems to run the trigger everytime a unit attacks within the region. I can't figure this out and its a huge waste on resources. I just want it to do the trigger once per unit that enters it.
Missiles are units. The trigger is firing when units use ranged projectile attacks within the region would be my guess.
Also you clipped the part of the window that shows whether or not its actually a drain on resources. Just because something runs very often doesn't mean it's slowing down your game, that's why you have to look at execution time.
@RileyStarcraft: Go
Riley You are a God lol so stupid of me
Right, its probably something I can't really change since its going to call all units anyway. Failed call or not.
Early failed does run less overall though since its not calling the rest of the triggers.