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

How to loop an abilities birth animation

Status
Not open for further replies.
Level 2
Joined
Aug 9, 2006
Messages
13
Hey everybody.

I have made a passive aura spell and I want to make a cool aura effect with it, like brilliance aura. To get a cool effect i want (abilities) <replenish> (birth animation) to loop. But when I use the <periodic event: create special effect> trigger it doesn't play in the game.

Does anybody know of a solution?
 
Have you set the Special Effect to a Variable? I am not sure its been a long time since mapping but i guess you have to do something like "Play X animation of [Last created Special Effect]"
 
don't do that.

some models (used as spell animations) appear, play their thing for a second or two then dissapear automatically. others stay on screen until destroyed manually. Don't use the first group! That trigger will probably lag and leak. just attach one permanent model to hero's feet (using object editor on that ability, not trigger)

if you want, i can send you recolored version of brilliance aura - any color you chose. just send me a private message including your e-mail address.
 
in a trigger, when the unit learns the skill, set the triggering unit into a variable
(ex.: set Aura = TriggeringUnit)

in a trigger that shots every 1 second, type this custom script:
call DestroyEffect(AddSpecialEffectTarget("replenish mana model", udg_Aura, "origin"))

now the model:
get the model path, then type an other '\' next to the '\'-s, to look like:

models\common\model.mdl --> models\\common\\model.mdl

note that this can be used on only one unit because of the variable...
 
Thanks for your help guys! But I found a way to use triggers anyway.

The problem was that with a passive ability (apparently) the <a unit is casting an ability, set casting unit> triggers dont work. (Because the unit is not actually casting a spell)

So the solution was to pick every unit matching <level of Pressure >=1 > and <casting unit is of type ..> and add special effect. Now the unit does get picked and the loop works just fine!!
 
Status
Not open for further replies.
Back
Top