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

Villager Animations {using a unit's 'alternate' animations}

Status
Not open for further replies.
Level 12
Joined
Oct 23, 2007
Messages
565
Can some one help me with this

Villager - The Hive Workshop - A Warcraft III Modding Site

Animation Tags

None = VillagerMan Attack
Alternate = Onehand Attack
Channel = Twohand Attack
Defend = Defend Attack
Flesh = Spell Attack
Gold = Duel Attack
Lumber = Bow Attack
Work = Crossbow Attack

Just use this script to add an animation tag:
JASS:
call AddUnitAnimationProperties(unit,"Alternate",true)

  • Untitled Trigger 001
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Custom script: call AddUnitAnimationProperties(0000,"Alternate",true)
i have changed several valued but it keeps giving me errors.
i have never used jass before and im having trouble wit this.
can some one help me?
Doing this will change his default animation right?
 
Level 9
Joined
Jul 3, 2008
Messages
495
You aren't giving the function any information about what unit you use the script on. You have just entered 0000.

If you never have touched Jass. I recommand you to learning it. It makes your life alot easyer and better.
But the easiest way for you to get this to work, is to use the GUI function:

  • Animation - Add the Alternate animation tag to Paladin 0000 <gen>
 
Status
Not open for further replies.
Top