Hey guys its me again >.< i have a problem with one of my hero.. to be exact one of his animation he should play..
i know that wc3 GUI animations play are a little bit of buggy and this function wont play the animation i wrote in it everytime. thats why i used a costum script. i show you guys whats my problem.
this model(klick on link)
https://www.facebook.com/photo.php?...618256.-2207520000.1402543407.&type=3&theater
as you see he have a STAFF, LANCES and a SWORD.
the STAFF is for walking(hes actually flying xD)
LANCES are for normal attacking
and the SWORD is for only 1 animation where he hits the target
he also have a spell animation with his LANCE, which is expanding towards him. as you see in the VIDEO below
this works everytime and perfect. but if im using his ultimate like in minute 2:03 you will see hes doing nothin . he dont play the animation. i think i know why it is. its becasue the spell is a target enemy. and the lance spell is a ground spell. but shouldnt the code animation come AFTER the normal object editor animation set on the spell? and yeah i checked if its the right animation. i let him play animations from 0 to 20. so i tooked the right one
heres the code:
[E] Lance (works every time):
i know that wc3 GUI animations play are a little bit of buggy and this function wont play the animation i wrote in it everytime. thats why i used a costum script. i show you guys whats my problem.
this model(klick on link)
https://www.facebook.com/photo.php?...618256.-2207520000.1402543407.&type=3&theater
as you see he have a STAFF, LANCES and a SWORD.
the STAFF is for walking(hes actually flying xD)
LANCES are for normal attacking
and the SWORD is for only 1 animation where he hits the target
he also have a spell animation with his LANCE, which is expanding towards him. as you see in the VIDEO below
this works everytime and perfect. but if im using his ultimate like in minute 2:03 you will see hes doing nothin . he dont play the animation. i think i know why it is. its becasue the spell is a target enemy. and the lance spell is a ground spell. but shouldnt the code animation come AFTER the normal object editor animation set on the spell? and yeah i checked if its the right animation. i let him play animations from 0 to 20. so i tooked the right one
heres the code:
[E] Lance (works every time):
- Set Caster_Obito_2 = (Triggering unit)
- Custom script: call SetUnitAnimationByIndex ( udg_Caster_Obito_2 , 4 )
- Set Caster_Obito_3 = (Triggering unit)
- Custom script: call SetUnitAnimationByIndex ( udg_Caster_Obito_3 , 9 )