- Joined
- Aug 27, 2008
- Messages
- 127
http://www.hiveworkshop.com/forums/models-530/villager-185-animations-192204/?prev=r=20&page=3 Here it is. I dont know how to make it attack with specific animations and how to make is sit down? I really dont know.
Anyone ever heard of simple triggers? i have.I am not using like wtwfwtwfwtf commands and complicated and hard triggers and jass blah blah...I am doing it all the way i know and i always solve my peoblem. there u go:
Event-A unit is attacked
Condition -Unit type of (villager) equal to true
Action -Reset (attacking unit) animation
-Play (attacking unit) xxxxx animation
idk for u but it works for me
and sorry for the 'U's.i use it to type faster
if you still got problems you can use the SetUnitAnimationByIndex(unit, index) function which will play a single animation (e.g. you can play stand - 2 with it without playing stand - 1 which does not work with GUI afair)
to view the animations just select the unit then in the WE MAIN WINDOW, you can see like...
"Animation: ......", select animation you want by pressing the < and > arrows, the animations examples are, Attack Morph - 23, Attack Throw - 4, Stand Victory - 13 etc...
then in the trigger use this...
- Animation - Play UNIT Attack Morph - 23 animation