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

[Model] Remove effect

Status
Not open for further replies.
You could just create the effect as a dummy unit a kill him when he starts doing this effect.
For example if after 4 seconds it starts causing that problem use this:
  • A Trigger
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Frost Nova
    • Actions
      • Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Target unit of ability being cast)) facing 270.00 degrees
      • Set FrozenEffect = (Last created unit)
      • Wait 3.99 seconds
      • Unit - Kill FrozenEffect
Frost Nova will be changed in the spell you want and Footman in the dummy unit you'll create using this model.
I hope my advise was helpful!!:wink:
 
You could just create the effect as a dummy unit a kill him when he starts doing this effect.
For example if after 4 seconds it starts causing that problem use this:
  • A Trigger
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Frost Nova
    • Actions
      • Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Target unit of ability being cast)) facing 270.00 degrees
      • Set FrozenEffect = (Last created unit)
      • Wait 3.99 seconds
      • Unit - Kill FrozenEffect
Frost Nova will be changed in the spell you want and Footman in the dummy unit you'll create using this model.
I hope my advise was helpful!!:wink:

You're leaking and it is not MUI. Here's a better example :P
  • Freeze
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frost Nova
    • Actions
      • Set Temp_Point = (Position of (Target unit of ability being cast))
      • Unit - Create 1 Frozen - Dummy for (Owner of (Triggering unit)) at Temp_Point facing Default building facing degrees
      • Unit - Add a 3.99 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation( udg_Temp_Point )
  • [/hidden]
 
Status
Not open for further replies.
Back
Top