Spells that do not interupt walking

mothmann

New Member
Reaction score
1
Spells like Fan of Knives and i think Thunder Clap can be cast while the target is walking and the casting unit will not stop walking .. I was wondering what other spells could do this. Maybe someone has a list somewhere or people could just name any they know of.
 

Chewbalka

New Member
Reaction score
14
You can trigger it so any spell will have you continue to walk after using it.

2 triggers

first to find the position of a tageted point
second to re-targer that position after a spell is used.
 

Phoenixrainn

New Member
Reaction score
2
I created a script that lets you right-click to move, and then attack-ground that doesn't interupt movement. Except, it doesn't quite work, because the unit pauses for a split-second to cast the attack ground and then continues to the right-click destination.

Either way, here is the code for that.

Code:
Set Move Red
    Events
        Unit - A unit Is issued an order targeting a point
    Conditions
        Or - Any (Conditions) are true
            Conditions
                (Issued order) Equal to (Order(attack))
                (Issued order) Equal to (Order(move))
                (Issued order) Equal to (Order(smart))
        (Owner of (Ordered unit)) Equal to Player 1 (Red)
    Actions
        Set MoveGroundPoint[1] = (Target point of issued order)

Code:
Red Attack Show Code
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Owner of (Casting unit)) Equal to Player 1 (Red)
    Actions
        Set Attacker[1] = (Casting unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Ability being cast) Equal to Light Machine Gun 
            Then - Actions
                Unit - Cause Attacker[1] to damage circular area after 0.00 seconds of radius 50.00 at (Target point of ability being cast), dealing 8.00 damage of attack type Pierce and damage type Normal
                Special Effect - Create a special effect at (Target point of ability being cast) using Abilities\Weapons\Rifle\RifleImpact.mdl
            Else - Actions
                Do nothing
        Wait 0.50 seconds
        Unit - Order (Casting unit) to Move To MoveGroundPoint[1]

You'll notice I have a "Wait .5 Seconds" in there. I can't exactly remember why, but I think I needed it for some reason, like it wouldn't work without it. The unit would ignore the move if he could not have time to cast the damage action.

I have tried this with dummy units attacking instead, but I moved away from that idea, I might have to go back to that in order to get it to fully work.
 

Chewbalka

New Member
Reaction score
14
You could always change the event to

Unit - A unit Finishes casting an ability

then order the unit to move to the targeted point, and have the spell actions in diffreant triggers.
 

Emu.Man00

New Member
Reaction score
41
The 0.5 seecond wait is obviously the reason the unit stops moving. I don't understand why you need the wait tho..
 

Phoenixrainn

New Member
Reaction score
2
The 0.5 seecond wait is obviously the reason the unit stops moving. I don't understand why you need the wait tho..

I just remember when the .5 wait wasn't there, he would not move to the temppoint. He would attack and then just stop there.
 

Emu.Man00

New Member
Reaction score
41
Dunno why that would happen... but anyway you dont need that if in your trigger. Just add an "AND" to conditions. Currently no matter what spell is casted the caster (if owned by player 1) will be ordered to move to MoveGroundPoint[1]
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
Any Instant/No-target spells remember the previous orders
Except some have an animation delay
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top