• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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