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

how do I stop blink effect?

Status
Not open for further replies.
Level 2
Joined
Sep 7, 2009
Messages
19
I based by spell on blink, because it's the only spell with minimum range. But how do i stop the caster from teleporting...? :vw_wtf:
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
  • No Blink Blink
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blink
    • Actions
      • Unit - Remove Blink from (Triggering unit)
      • Unit - Add Blink to (Triggering unit)
I tested it and it works perfectly (Mana cost and everything).

If you don't want the Caster to lose Mana, do this:
  • Blink Stop
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Blink
    • Actions
      • Unit - Order (Triggering unit) to Stop
This trigger is more efficiency (as it uses less function to call) AND prevent the unit to lose Mana.
 
Level 15
Joined
Jul 9, 2008
Messages
1,552
could evan use

  • Melee Initialization
    • Events
    • Conditions
    • Actions
      • Set caster_pos = (Position of (Triggering unit))
      • Set target_pos = (Target point of ability being cast)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Distance between caster_pos and target_pos) Greater than or equal to 10.00
        • Then - Actions
          • -------- spell triggers --------
        • Else - Actions
then you could use a different spell
but i dont think there is a way getting around losing mana and the cool down going off
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
could evan use

  • Melee Initialization
    • Events
    • Conditions
    • Actions
      • Set caster_pos = (Position of (Triggering unit))
      • Set target_pos = (Target point of ability being cast)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Distance between caster_pos and target_pos) Greater than or equal to 10.00
        • Then - Actions
          • -------- spell triggers --------
        • Else - Actions
then you could use a different spell
but i dont think there is a way getting around losing mana and the cool down going off

In his other thread, he has solved the "minimum range" problem by using Blink spell
So, it has no problem with minimum range anymore I think
 
Level 2
Joined
Sep 7, 2009
Messages
19
Thanks alot everyone :) I will use GhostThruster's, but +rep to all who wanted to help :)
  • No Blink Blink
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blink
    • Actions
      • Unit - Remove Blink from (Triggering unit)
      • Unit - Add Blink to (Triggering unit)
 
Status
Not open for further replies.
Top