• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Jass script...

Status
Not open for further replies.

Ovg

Ovg

Level 2
Joined
Dec 6, 2007
Messages
6
Could somebody write a script which would change units animations to "work" according to this:
Work = Crossbow Attack

Just use this script to add an animation tag:
call AddUnitAnimationProperties(unit,"Alternate",true)
What do I need to do? In return +rep and credits.
 
Level 9
Joined
Jul 3, 2008
Messages
495
Could somebody write a script which would change units animations to "work" according to this:

What do I need to do? In return +rep and credits.

1. Create a global unit variable and name it myunit
2. Add the unit to the variable
3. Create a custom script. You can find it in the GUI list menu.
and add copy this text to it:
JASS:
call AddUnitAnimationProperties(udg_myunit,"Work",true)
 
  • Like
Reactions: Ovg
Status
Not open for further replies.
Top