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

[Trigger] Question about Animation of units + Sound

Status
Not open for further replies.
Level 7
Joined
Jul 7, 2008
Messages
332
Hello.
I am making some effect for my spell.
Well in that trigger for example:

  • Events
    • Unit - A unit Begins channeling an ability
  • Conditions
    • (Ability being cast) Equal to Example Ability
  • Actions
    • Set LOL = (Position of (Casting unit))
    • Sound - Play MY SOUND <gen> at 100.00% volume, located at LOL with Z offset 0.00
    • Animation - Play (Casting unit)'s STAND animation
    • Unit - Create 1 Dummy Effect 4 for (Owner of (Casting unit)) at LOL facing (Position of (Triggering unit))
    • Unit - Add a 4.00 second Generic expiration timer to (Last created unit)

Here:
  • Animation - Play (Casting unit)'s STAND animation
How do I know which animations exist?
I know theres stand and attack, but what are the rest?
Well the specific animation I want is the morph (unit's morph)


Question about the sound?
  • Sound - Play MY SOUND <gen> at 100.00% volume, located at LOL with Z offset 0.00
How do I add my own sound here?
I imported the sound, but it doesn't show up.
There are other sounds (Units Pissed) in the "Variable" Tab, so I though I have to make a variable for my sound, but I don't see and sound Variables for the existing sounds o_O
 
Go the the sound editor, rightclick on the sound on the left and click USE AS SOUND.
That will make you use the sounds ingame and in triggers.

For the first thing:
Check out the SPELLS and the animations. There is Warstomp for example, which has SPELL SLAM. So you know that there is a spell animation and a slam animation.

Most units at least have:
Attack, Move, Spell, Decay, Death
 
Status
Not open for further replies.
Top