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

How to put an animation on attacks, trigger

Status
Not open for further replies.
Level 8
Joined
Jul 11, 2008
Messages
104
Hello, I have a trigger that adds a resource every time a certain building is attacked.

Unit - A unit is attacked

(Triggering unit) equal to xxxx

Player - Add x to (Owner of (Attacking unit's)) Gold / Lumber.

How do I make it so an animation, like, for example, a flame strike or frost nova plays on that building?

Thanks.
 
  • Actions
    • Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
    • Special Effect - Destroy (Last created special effect)
Something like that. Switch the "Abilities\Spells\Demon..." with whatever your special effect is.

It depends, if you want to have it long-term (as in, wait before destroying it), you might need to use hashes for MUI, either that or arrays or some random MUI/leak fixing system.
 
Status
Not open for further replies.
Top