Windwalk stuff

Demonwrath

Happy[ExtremelyOverCommercializ ed]HolidaysEveryon
Reaction score
47
Hey guys, I was wondering how you can remove Windwalk from a unit using triggers. Like with my spell I need to make it so if he is attacked while invisible, he becomes visible again.

Any help is appreciated :D
 

Slywolf15

Member
Reaction score
5
Hey guys, I was wondering how you can remove Windwalk from a unit using triggers. Like with my spell I need to make it so if he is attacked while invisible, he becomes visible again.

Any help is appreciated :D

How about using this.

Code:
Action-A unit is attacked

Condition-Triggering unit has buff windwalk equal to true

Action-Disable windwalk for owner of triggering unit.
          Enable windwalk for owner of triggering unit

That should work if i'm not mistaken:D
 

juty

Zoom out problems look smaller
Reaction score
26
Try making a trigger first I would start something like this
E
Unit begins caste
C
A
If unit equal to casting unit is attack remove all effects from spell

not sure if there are these triggers as I dnt have WE open at this time
 

Demonwrath

Happy[ExtremelyOverCommercializ ed]HolidaysEveryon
Reaction score
47
Hmm, don't see wut you have in the editor juty and i will try wut u gave my slywolf
 

Somatic

You can change this now in User CP.
Reaction score
84
Code:
Remove Windwalk
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacked unit) has buff Wind Walk) Equal to True
    Actions
        Unit - Remove Wind Walk buff from (Attacked unit)
 

NetherHawk

New Member
Reaction score
26
exactly what somatic suggested, forcefully remove the buff using a trigger, he will be visible after that/
 

Advena

Just casually observing atm ;)
Reaction score
42
How about the action "Unit - Remove all Buffs from (unit)" ?
Not the best option of course, but if it works it's always something :)
 

Demonwrath

Happy[ExtremelyOverCommercializ ed]HolidaysEveryon
Reaction score
47
Maybe I should post the triggers I need to get working :p

Disables if attacked:
Code:
Spell Interrupt Attack
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacked unit) has buff Assassin Strike ) Equal to True
    Actions
        Unit - Remove Assassin Strike  buff from Caster

Disables if unit Moves:
Code:
Spell Interrupt Move
    Events
        Time - Every 0.01 seconds of game time
    Conditions
        ((Triggering unit) has buff Assassin Strike ) Equal to True
    Actions
        Set assassin_PointTwo = (Position of Caster)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Distance between assassin_PointOne and assassin_PointTwo) Greater than 0.00
            Then - Actions
                Unit - Remove Assassin Strike  buff from Caster
                Custom script:   call RemoveUnit(udg_Caster)
            Else - Actions

Hopefully someone can tell me what's wrong. Oh, btw, Caster is set in an earlier variable
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top