• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Stop unit channeling (the channel ability)

Status
Not open for further replies.
Level 4
Joined
Mar 15, 2020
Messages
32
Hey I've come across a bit of a problem here. Currently in my map during a boss fight the boss will teleport to the center of the room and start channeling the dummy (channel) spell. This all goes well and good but when it's time for the phase to end I can't manage to make him stop no matter what I do. I've tried removing the spell, moving him, issuing an order to stop. Nothing!. I'm getting really frustrated and I don't know what to do, I'll post both the trigger to set up the phase and the trigger to end the phase below.
  • Transition
    • Events
      • Unit - Cult Lich 0843 <gen>'s life becomes Less than or equal to 9000.00
    • Conditions
    • Actions
      • Unit - Set life of Cult Lich 0843 <gen> to 60.00%
      • Unit - Make Cult Lich 0843 <gen> Invulnerable
      • Unit - Move Cult Lich 0843 <gen> instantly to (Center of Lich Transition <gen>), facing 275.00 degrees
      • Unit - Order Cult Lich 0843 <gen> to Special - Channel.
      • Unit - Create 1 Dummy Caster for Player 1 (Red) at (Center of Lich Transition <gen>) facing Default building facing degrees
      • Set VariableSet LichBossDummy = (Last created unit)
      • Unit - Order LichBossDummy to Undead Lich - Death And Decay (Center of Lich Transition <gen>)
      • Unit - Unhide Spirit_of_Blood
      • Unit - Unhide Spirit_of_Death
      • Unit - Unhide Spirit_of_Frost
      • Unit - Unhide Spirit_of_Pestilence
      • Trigger - Turn on Phase 2 <gen>
      • Trigger - Turn off (This trigger)
  • Phase 2
    • Events
      • Unit - A unit Dies
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Triggering unit)) Equal to Spirit of Blood
          • (Unit-type of (Triggering unit)) Equal to Spirit of Death
          • (Unit-type of (Triggering unit)) Equal to Spirit of Frost
          • (Unit-type of (Triggering unit)) Equal to Spirit of Pestilence
    • Actions
      • Set VariableSet Spirit_Death_Count = (Spirit_Death_Count + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Spirit_Death_Count Equal to 4
        • Then - Actions
          • Sound - Play Hint <gen>
          • Game - Display to (All players) the text: |cff00ff00The Lich'...
          • Unit - Make Cult Lich 0843 <gen> Vulnerable
          • Unit - Unpause Cult Lich 0843 <gen>
          • Unit - Remove Transition Channel from Cult Lich 0843 <gen>
          • Unit - Order Cult Lich 0843 <gen> to Stop.
          • Unit - Move Cult Lich 0843 <gen> instantly to (Center of Lich Transition <gen>), facing 275.00 degrees
          • Unit - Order Cult Lich 0843 <gen> to Attack-Move To (Center of Lich Transition <gen>)
          • Unit - Remove LichBossDummy from the game
        • Else - Actions
          • Game - Display to (All players) the text: |cffffff00The death...
Any help would be greatly appreciated. Thanks.
 
Status
Not open for further replies.
Top