• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Unit Pause problem

Status
Not open for further replies.
Level 8
Joined
Dec 29, 2006
Messages
359
Im havin a hard time with a particular trigger.


  • Plaguecaster Ginka Stun
    • Events
      • Destructible - A destructible within Plaguecaster Ginka INIT <gen> dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Destructible-type of (Dying destructible)) Equal to Corruption Generator
        • Then - Actions
          • Unit - Pause Plaguecaster Ginka 0112 <gen>
          • Set GinkaStunned_Boolean = True
          • Wait 10.00 seconds
          • Unit - Unpause Plaguecaster Ginka 0112 <gen>
          • Set GinkaStunned_Boolean = False
        • Else - Actions
Plaguecaster Ginka is not being paused, he still moves as normal. Also this trigger still fires when i have GinkaStunned_Boolean set to true.

  • Plaguecaster Ginka Novas
    • Events
      • Time - Every (Random real number between 5.00 and 15.00) seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • GinkaStunned_Boolean Equal to False
        • Then - Actions
          • Advanced - Create a special effect circle around location (Position of Plaguecaster Ginka 0112 <gen>) with radius 250.00 with 12 effects in total using model path Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl and lasting 3.00 seconds
          • Unit Group - Pick every unit in (Units within 250.00 of (Position of Plaguecaster Ginka 0112 <gen>)) and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Picked unit) Not equal to Plaguecaster Ginka 0112 <gen>
                • Then - Actions
                  • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 150.00)
                • Else - Actions
                  • Do nothing
        • Else - Actions
          • Do nothing
Anybody have any idea whats going on? Thanks to all replies.
 
Status
Not open for further replies.
Top