Disabling loops doesn't work

Status
Not open for further replies.
Level 8
Joined
Mar 3, 2009
Messages
327
Like the title says. In my map i need to disable/enable some loops and it isnt working. Is there anything i should be doing instead of just

  • Trigger - Turn off Bombard <gen>
Heres the map if anyone needs to have a look

thanks
 

Attachments

  • GBF.w3x
    1 MB · Views: 55
Level 8
Joined
Mar 3, 2009
Messages
327
sorry im capped :p took like 20 minutes to upload. But anyway its the same one i was messing around with before lol

If it's any help, im trying to stop the alchemist from periodically throwing his explosive potions once he is dead, once he has gone berserk, and when he is launching a potion wave (for the last 2 a different loop kicks in).

Another problem caused by them not disabling is that the alchemist becomes unpaused while the players are still selecting their heroes.
 
The waits cause the mess of non-disabled loop, because you wait until all wisps are dead, so, turning off the trigger doesn't actually turn it off (when the wait is still searching for 0 wisps in the map). The same goes for Bombard trigger.

In the Care for a Cocktail Bombardment trigger, add this:
  • If (All conditions are true) then do (Actions) else do (Actions)
    • If - Conditions
      • Boss Not Equal to No unit {Unit comparison}
    • Then - Actions
      • //Actions here
    • Else - Actions
      • Trigger - Turn off (This trigger)
Boss variable is only called in the restartinit trigger, so, you don't have to loop it, when no "-restart" has been typed.

In the Care for a cocktail triggers, add the condition
  • (Life of Alchemist 0005 <gen>) Greater than (0.41 - 0.05)
 
Status
Not open for further replies.
Top