Hello! I am very new to this forum. Anyway I would love to get some help, I am starting to create some maps after a loooong break and atm I am really stuck at creating special effects at certain regions, have a trigger "harm or kill units inside that region" and then remove the effects and "harming trigger". This is what I have done so far, but I don't know how to kill all the fire effects and also the region which i move has not updated its location to the second trigger. Even with variables I couldnt make it work, because I couldnt refer to a variable that has no initial "region" value.. Any help is appreciated! Here follows my trigger:
Fire1
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Set fireactive1 = 1
Region - Center Fire1 <gen> on (Random point in (Playable map area))
Set fire1 = Fire1 <gen>
Cinematic - Ping minimap for (All players) at (Center of Fire1 <gen>) for 10.00 seconds, using a Simple ping of color (100.00%, 100.00%, 100.00%)
Game - Display to (All players) for 15.00 seconds the text: A fire has started!...
Wait 2.00 seconds
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Wait 3.00 seconds
Trigger - Run Killinfire <gen> (checking conditions)
Killinfire
Events
Time - Every 0.10 seconds of game time
Unit - A unit enters Fire1 <gen>
Conditions
fireactive1 Equal to 1
Actions
Unit - Set life of (Entering unit) to ((Life of (Entering unit)) - 2000.00)
Fire1
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Set fireactive1 = 1
Region - Center Fire1 <gen> on (Random point in (Playable map area))
Set fire1 = Fire1 <gen>
Cinematic - Ping minimap for (All players) at (Center of Fire1 <gen>) for 10.00 seconds, using a Simple ping of color (100.00%, 100.00%, 100.00%)
Game - Display to (All players) for 15.00 seconds the text: A fire has started!...
Wait 2.00 seconds
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Special Effect - Create a special effect at (Random point in Fire1 <gen>) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Wait 3.00 seconds
Trigger - Run Killinfire <gen> (checking conditions)
Killinfire
Events
Time - Every 0.10 seconds of game time
Unit - A unit enters Fire1 <gen>
Conditions
fireactive1 Equal to 1
Actions
Unit - Set life of (Entering unit) to ((Life of (Entering unit)) - 2000.00)