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

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