• 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.

Channeling

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,103
How do I make Channeling spells? I have setup trigger and looping trigg.

Now i need to do when I move or attack or stop or hold position to turn off the looping trigg.

I tried messing with orders but it just didn't worked
Example: DotA, Pusge's ulty: Cannibalize
 
Level 18
Joined
May 11, 2012
Messages
2,103
Yes, but the thing i'm bother with is when the channeling spell is stopped, the looping trigger is still running.. So I want to make when I order something while channeling, the spell will stop(loop will be turned off)
 
Level 11
Joined
Jun 15, 2011
Messages
447
Example 1: (When ability is stopped)

Events: A unit stops casting an ability
Conditions: Ability being cast equal to (Channeling Ability)
Action: Turn off (Looping Trigger)

Example 2: (When unit stops or holds position)

Events: A unit is issued an order with no target
Conditions: Current order of (VarUnit) equal to order(stop)
or current order of (VarUnit) equal to order(holdposition)
Actions: Turn off (Looping Trigger)

(The 2 examples work the same)
 
Level 18
Joined
May 11, 2012
Messages
2,103
thank you two of you! Very Helpfull!

now again problems: the orders attack and move doesn't stops the loop. Why?

  • Blood Tear End
    • Events
      • Unit - A unit Is issued an order with no target
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Current order of (Triggering unit)) Equal to (Order(stop))
          • (Current order of (Triggering unit)) Equal to (Order(holdposition))
          • (Issued order) Equal to (Order(attack))
          • (Issued order) Equal to (Order(move))
    • Actions
      • Animation - Reset BloodTear_TargetUnit's animation
      • Animation - Reset BloodTear_TrigUnit's animation
      • Trigger - Turn off Blood Tear Loop <gen>
      • Trigger - Turn off Blood Tear Target Unit Dies <gen>
      • Trigger - Turn off (This trigger)
 
Status
Not open for further replies.
Top