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

Pause effects, (bash,entangle..)

Status
Not open for further replies.
Level 11
Joined
Jul 28, 2007
Messages
920
What is best to use to keep unit move after this effect, like if i create unit, and make it move, from point to point, and unit gets bashed on his path, after bash is gone, unit wont continue walking, what is best system to make unit continue ?
 
Level 5
Joined
Jan 27, 2007
Messages
154
I suppose both bash and entangling roots..

EDIT:
Oh, I get it now.

You could use pause unit instead, after the effect; they will proceed to their last orders.
 
Level 11
Joined
Jul 28, 2007
Messages
920
Ok, i have unit that has BASH ability, u have, footman.
My unit is going from point 1 to point 2.
Your unit is going from point 2 to point 1.
They start to attack each other at middle.
My unit stuns your unit.
My unit dies ( reason isnt important - let it be couse of chain lightning ).
Your unit gets unbashed ( bash effecnt expires ).
Your unit wont continue moving. ( And we dont want that... )
 
Level 5
Joined
Jan 27, 2007
Messages
154
Make a dummy skill and a dummy passive skill

  • Events
  • Unit - A unit is attacked
  • Conditions
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Level of Passive for (Attacking Unit)) Greater than or equal to 1
        • (Random integer number between 1 and 100) Less than or equal to 20
      • Then - Actions
        • Unit - Pause (Attacked unit)
        • Special Effect - Create a special effect attached to the overhead of (Attacked) using Blahbblah.mdl
        • Variable - Set SFX last created special effect
        • Wait ??? seconds
        • Special Effect - Destroy SFX
      • Else - Actions
For skill:

  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Dummy
  • Actions
    • Unit - Pause (Target unit of ability being cast)
    • Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) Blahblah.mdl
    • Set SFX = (Last created special effect)
    • Wait ??? seconds
    • Special Effect - Destroy SFX
 
Level 11
Joined
Jul 28, 2007
Messages
920
Lets take Castel Fight map, Griffons have Bash there, and when they bash, bashed units continue moving after bash expires. Hm, i will look some of examples now. I know few ways how to fix this, but i am looking for most simple way

EDIT: Ou i know, maybe i can put in action wait for condition, uiit has buff ( bash ) = false , move unit then :D
 
Level 9
Joined
Oct 17, 2007
Messages
547
Or you can try having a periodic event... every 10 second order all footman that belong to player 1 move or attack to point 2. If u use the attack order, the footman would still keep fighting if its in the middle of a battle. Does that work?
 
Status
Not open for further replies.
Top