Trigger A: Persistent Event that Deals Dmg to units in a specific region
Trigger B: Creates/Modifies the Specific Region, waits a certain amount of time, then clears/destroy the Region.
Ingame Problems of my Implementation.
Trigger A: Seems to Work flawless
Trigger B: Adding new Region Shapes to the allready existing specific region works well.
But I have no Idea how to clear a region of all Shapes.
I Tried the Workaround to Simple add a negative Shape to the Region after Trigger B has run.
Which stopped Units from Taking dmg which previously stood in the Positive Region Shapes.
At first I believed that would solve the problem, but if Trigger B runs a Second Time the A-Trigger does'nt work.
I believe that a Negative Region Shape takes priority over The Positive Shapes, even if you add overlapping Positive Shapes after creating the negative shape.
Another Workaround would be to let Trigger B enable/disable Trigger A but that would mean that I can't let the Region grow dynamically.
My Intent:
Trigger A: Persistent Event that Deals Dmg to units in a specific region Trigger B: Creates/Modifies the Specific Region, waits a certain amount of time, then clears/destroy the Region.
Ingame Problems of my Implementation.
Trigger A: Seems to Work flawless Trigger B: Adding new Region Shapes to the allready existing specific region works well. But I have no Idea how to clear a region of all Shapes.
I Tried the Workaround to Simple add a negative Shape to the Region after Trigger B has run. Which stopped Units from Taking dmg which previously stood in the Positive Region Shapes. At first I believed that would solve the problem, but if Trigger B runs a Second Time the A-Trigger does'nt work.
I believe that a Negative Region Shape takes priority over The Positive Shapes, even if you add overlapping Positive Shapes after creating the negative shape.
Another Workaround would be to let Trigger B enable/disable Trigger A but that would mean that I can't let the Region grow dynamically.
Any ideas?
Ok.... so your kinda dynamically creating the area for the region.
but your getting stuck clearing the region.
Heres an idea.
Create another region with the size of 0.1 by 0.1 and place it in a spot on the map where its not gonna be in the way.
When you want to clear your current region set it = to the region that is 0.1 by 0.1. you might wanna make that region even small if it lets you.
Im sure theres another command.. you could set your region variable = to "no region"
theres also an action where you can change the area of a regon just by passing it height width and position.
I would suggest staying away from negative shapes in your region with the what your doing here. Might make it more complicated.
hope that helps a bit