I am trying to make an area with random explosions inside that damage you. This is what I came up with:
Trigger 1:
Event - Every 5 seconds
Condition - n/a
Action:
Center Region A on (Random point in Region B)
Create a special effect at Center of Region A using xxxxxxx
Trigger 2:
Event - A unit enters Region A
Condition - n/a
Action - Cause Unit X to damage (Entering Unit) dealing 100 damage of attack type Chaos and damage type Fire.
What should happen here (correct me if I'm wrong) is that every 5 seconds, Region A will be moved to a random point in Region B, and if any unit enters Region A (seen with the special effect) it will take 100 damage.
The problem is, its not working. Not only does it not deal damage when the Region moves on a unit, but also if I try to strictly follow the trigger and enter the region AFTER it appears, it also doesn't work. Now I'm completely stumped...my question is 2 parts: 1) Is there a way that allows the trigger to detect a unit already inside a region (not entering), and 2) Why is no damage being dealt? If you need more info please say so...I have a habit of not telling everything for the sake of simplicity.
Trigger 1:
Event - Every 5 seconds
Condition - n/a
Action:
Center Region A on (Random point in Region B)
Create a special effect at Center of Region A using xxxxxxx
Trigger 2:
Event - A unit enters Region A
Condition - n/a
Action - Cause Unit X to damage (Entering Unit) dealing 100 damage of attack type Chaos and damage type Fire.
What should happen here (correct me if I'm wrong) is that every 5 seconds, Region A will be moved to a random point in Region B, and if any unit enters Region A (seen with the special effect) it will take 100 damage.
The problem is, its not working. Not only does it not deal damage when the Region moves on a unit, but also if I try to strictly follow the trigger and enter the region AFTER it appears, it also doesn't work. Now I'm completely stumped...my question is 2 parts: 1) Is there a way that allows the trigger to detect a unit already inside a region (not entering), and 2) Why is no damage being dealt? If you need more info please say so...I have a habit of not telling everything for the sake of simplicity.