Ok, in my map theres a dungeon where you must kill 2 tuskarr guardians to advance to the next stage. At the next stage, you hav to kill an additional 3 tuskarr guardians to advance again. Ive been messing with this trigger for a while but right now it takes 3 tuskarrs to move to the advance the first time then after that it just keeps moving my hero to (Center of IceLairSpawn2 <gen>)). Help?
Untitled
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Tuskarr Guardian
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TuskarrGuardCount Less than 2
Then - Actions
Set TuskarrGuardCount = (TuskarrGuardCount + 1)
Else - Actions
Unit Group - Pick every unit in DungeonFighters[1] and do (Unit - Move (Picked unit) instantly to (Center of IceLairSpawn2 <gen>))
Set TuskarrGuardCount = 3
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(TuskarrGuardCount Greater than or equal to 3) or (TuskarrGuardCount Less than 6)
Then - Actions
Set TuskarrGuardCount = (TuskarrGuardCount + 1)
Else - Actions
Set TuskarrGuardCount = 0
Unit Group - Pick every unit in DungeonFighters[1] and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Region 000 <gen>)
Untitled
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Tuskarr Guardian
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TuskarrGuardCount Less than 2
Then - Actions
Set TuskarrGuardCount = (TuskarrGuardCount + 1)
Else - Actions
Unit Group - Pick every unit in DungeonFighters[1] and do (Unit - Move (Picked unit) instantly to (Center of IceLairSpawn2 <gen>))
Set TuskarrGuardCount = 3
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(TuskarrGuardCount Greater than or equal to 3) or (TuskarrGuardCount Less than 6)
Then - Actions
Set TuskarrGuardCount = (TuskarrGuardCount + 1)
Else - Actions
Set TuskarrGuardCount = 0
Unit Group - Pick every unit in DungeonFighters[1] and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Region 000 <gen>)