• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Custom Script to Stop its leaking Animation on the Unit...

Status
Not open for further replies.
Level 7
Joined
May 23, 2011
Messages
179
Guys how will be the custom script of this Trigger because the animation causes
leak.....
How to destroy this:
  • Berserk
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Berserk (Rugbyboys Warlord)
    • Actions
      • Set Unit_Array_Special_Effect[1] = (Triggering unit)
      • Special Effect - Create a special effect attached to the origin of Unit_Array_Special_Effect[1] using Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
      • Wait 15.00 seconds
      • Special Effect - Destroy (Last created special effect)
      • Custom script: call RemoveLocation ( udg_VO_Point[3] )
Thanks.....:goblin_cry::goblin_cry::goblin_cry:
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Throw in a little bit of JASS and it becomes easy:
  • Actions
    • Custom script: local effect e
    • Set u = Triggering unit
    • Custom script: set e = AddSpecialEffectTarget("Abilities\\Spells\\Undead\\Cripple\\CrippleTarget.mdl", udg_Unit_Array_Special_Effect[1], "origin")
    • Wait 15.00 seconds
    • Custom script: call DestroyEffect(e)
    • Custom script: set e = null
 
Last edited:
Level 40
Joined
Dec 14, 2005
Messages
10,532
Status
Not open for further replies.
Top