- Joined
- Apr 21, 2013
- Messages
- 1,194
Okay i'm using villager255 in my game because it has lots of animations that i can use so the problem is this.
it uses different animations instead of chosen animation tho :S
-
Sword
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Attacking unit)) Equal to Simple Adventurer
-
(Item-type of (Item carried by (Attacking unit) of type Sword)) Equal to Sword
-
-
Actions
-
Set animAttack = (Random integer number between 0 and 2)
-
If (animAttack Equal to 1) then do (Custom script: call SetUnitAnimationByIndex(GetAttacker(), 57)) else do (Do nothing)
-
-
it uses different animations instead of chosen animation tho :S