- Joined
- Dec 13, 2008
- Messages
- 1,049
Hello everybody. So, I am making a trigger that is supposed to add an ability when any unit owned by Teal enters a region, or removes that ability when the unit leaves the region. This is what I have so far:
After testing ingame, the problem arises when the unit leaves the region. It will not remove the ability. This is obviously a big problem. Does anyone have any idea of how to fix this? Thanks!
P.S. Also, since I want this to occur in many regions (i am not sure the exact number, but i am guessing anywhere between 25 and 50), I was wondering if I could combine these regions into just 1 region (so I only need 1 trigger, not 25-50 triggers). Thanks again!
-
Water 1
-
Events
- Unit - A unit enters Water 1 <gen>
-
Conditions
- (Owner of (Entering unit)) Equal to Player 3 (Teal)
-
Actions
- Unit - Add Refreshed Scales to (Entering unit)
-
Events
-
Water 1 Copy
-
Events
- Unit - A unit leaves Water 1 <gen>
-
Conditions
- (Owner of (Entering unit)) Equal to Player 3 (Teal)
-
Actions
- Unit - Remove Refreshed Scales from (Entering unit)
-
Events
P.S. Also, since I want this to occur in many regions (i am not sure the exact number, but i am guessing anywhere between 25 and 50), I was wondering if I could combine these regions into just 1 region (so I only need 1 trigger, not 25-50 triggers). Thanks again!