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

spell animations, specifying in object editor doesn't work.

Status
Not open for further replies.
Level 7
Joined
Sep 9, 2007
Messages
253
the model "Forest Troll Berserker, Forest Troll Warlord, Forest Troll" has 2 spell animations:

Spell - Entangle
Spell -Berserk (it even has that lack of a space)

For an entangle spell I have "spell,entangle" in the animation field but it seems that the game randomly chooses either of the animations. I could use the other forest troll model which only has the Spell - Entangle animation but I would like to use the berserk ability for a different ability that he will have....

Any ideas here?

Thanks.
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
Level 7
Joined
Sep 9, 2007
Messages
253
Just copy the animation names required for the ensnare spell to your spell.

For the ability, in the animation names field I had "spell" and "entangle" as the 2 strings so that it looks like "spell,entangle" but it still randomly chose one of the 2 spell animations.

Have a look here: http://www.hiveworkshop.com/forums/...es-not-playing-animation-even-trigger-114081/

It seems the solution here is play animation through index through the JASS script. It also said there that typing spell, entangle in Object Editor does not work because it tries to play all animation with spell as names so using this method here is suggested.


I tried that fix but similar problem as before.

  • Troll entangle animation
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Ensnare
    • Actions
      • Custom script: call SetUnitAnimationByIndex(GetTriggerUnit(),8)
The trigger works but regardless of weather I use index 5,6,7,8,9 it still randomly plays the spell berserk or spell entangle. The animation names were removed from the ability in the editor and then i disabled the trigger. The spell still plays an animation. I tried with orc raider ensnare and neutral hostile ensnare as base abilities.... same result even with no animation strings.
 
Status
Not open for further replies.
Top