Hey guys, I've been going over some of the threads and tutorials about trigger leaks but I still have a few questions I thought I'd post to the community and see if any of you could help me out with some specifics.
1. Will having triggers that only affect a certain single unit cause leaks? Most of the threads and tutorials talk about unit groups and points on the map, but for example:
Trigger
A unit is attacked
Condition
Attacking unit has specific buff 'X'
Action
Cause attacking unit to deal 20 extra damage to attacked unit
In this case, will it leak? If so, I need to assign attacking unit and attacked unit to variables and then use custom script to 'remove' them right? If that's the case does anybody know the custom script for a single unit? (I only know GUI)
2. Leaks regarding points - I'm developing a map where units are generated in specific and preset regions (i.e. center of specific regions) in a recurring pattern. If that point is being 'reused' every so often, do i still need to protect from leaks because they're just these specific 50 points on the map?
3. Like #2, if recurring points cause leaks, then do warpgates cause leaks? because they send units to other points, other warpgates. Question 3.a is I have triggers in place to work as warpgates, where basically a unit enters a region and they immediately get sent to a certain point, will those cause leaks?
If i could get these questions answered, that would be very awesome. Thanks!
1. Will having triggers that only affect a certain single unit cause leaks? Most of the threads and tutorials talk about unit groups and points on the map, but for example:
Trigger
A unit is attacked
Condition
Attacking unit has specific buff 'X'
Action
Cause attacking unit to deal 20 extra damage to attacked unit
In this case, will it leak? If so, I need to assign attacking unit and attacked unit to variables and then use custom script to 'remove' them right? If that's the case does anybody know the custom script for a single unit? (I only know GUI)
2. Leaks regarding points - I'm developing a map where units are generated in specific and preset regions (i.e. center of specific regions) in a recurring pattern. If that point is being 'reused' every so often, do i still need to protect from leaks because they're just these specific 50 points on the map?
3. Like #2, if recurring points cause leaks, then do warpgates cause leaks? because they send units to other points, other warpgates. Question 3.a is I have triggers in place to work as warpgates, where basically a unit enters a region and they immediately get sent to a certain point, will those cause leaks?
If i could get these questions answered, that would be very awesome. Thanks!