• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help with Fear Spell!

Status
Not open for further replies.
Level 6
Joined
Aug 26, 2007
Messages
107
This is the Trigger: Event: A unit Finishes casting an ability. Condition: Ability Being cast = to fear. Actions: Set Variable (Feared) = to Targeted unit of spell being cast. Set Variable (Fearer) = to Casting unit. Pause Feared. Order Feared to move to center of (Region). Wait 30 seconds. Unpause Feared. That's the trigger. It wont work. All it does is it makes the unit hold still for 30 seconds. Any help here...?
 
Code:
Pause Feared
You say you pause it.
As Huurka said that is the problem.
When a unit is pause it will not do anything(like follow orders, like the one you give it later).
That explains why it stands still.

You know, some spells are complicated.

Easiest way would be to order the player that owns the feared unit to unselect it, and add a buff to it.
Than make a trigger:
Events:
A unit is selected
Conditions:
Selected Unit has the buff
Actions:
Selection: Remove selected unit from selection.
 
Re-Trigger

  • Event: A unit Finishes casting an ability.
  • Conditions: Ability Being cast = to fear.
  • Actions:
  • Set Variable (Feared) = to Targeted unit of spell being cast.
  • Set Variable (Fearer) = to Casting unit.
  • Order Feared to move to center of (Region).
    • Change owner of Feared to Neutral Passive.
  • Change movement speed of Feared to 522.
  • Wait 20 seconds.
  • Change owner of Feared to Player 12 (Brown).
  • Change movement speed of Feared to Default.
 
No need to.
It already doesn't leak.
Or it does, but a location - center of region.
 
He has stored the units in variables so there will be no problem using those variables(though it is not MUI).
Waits Both of them are very inaccurate(talking about really small numbers, but they make the difference).
Rather then that the only problem with them is that after you use a wait, you should not use any event responses or the trigger will not work(the part after the wait with the event responses).
 
He has stored the units in variables so there will be no problem using those variables(though it is not MUI).
Waits Both of them are very inaccurate(talking about really small numbers, but they make the difference).
Rather then that the only problem with them is that after you use a wait, you should not use any event responses or the trigger will not work(the part after the wait with the event responses).
Meant making it not MUI. crap. oh well.
 
Status
Not open for further replies.
Back
Top