I've noticed that when i'm decreasing coldown on my unit's weapon it scaling speed of attack animation automaticaly.
But when i made my own trigger which is launching attack animation it doesn't scale properly, depending on weapon coldown. When weapon coldown is less than duration of attack animation, it just doesnt play it until end and starting another sequence. Please help to fix this, here is my trigger ( attaching the map cuz my editor's version is not english)
Just set the weapon coldown to 0.5 to see my problem.
Can someone tell how to use data value with trigger. I saw such function in trigger but i didnt understand where to define desired field. I am trying to get weapon coldown value and set it as animation speed to fix my problem.
Please guys!
I downloaded your map and I fail to understand what you mean threw your post and by looking at your triggers i see you want a 20% chance do deal 300% dmg and you want your unit to do an other animation when that happens. You could do all of this threw the data editor by creating a critical effect ability and having the crits deal 300% of your dmg. Just a thought.
U said i can do it with data so explain me how do i detect this 20% chance effect before the hit will happens? i need my hero play animation when the critical strike starts to perform. I didnt find any event in unit's actor to make such stuff. If you know how it can be done explain please.
Hey guys, need some help.
I've noticed that when i'm decreasing coldown on my unit's weapon it scaling speed of attack animation automaticaly. But when i made my own trigger which is launching attack animation it doesn't scale properly, depending on weapon coldown. When weapon coldown is less than duration of attack animation, it just doesnt play it until end and starting another sequence. Please help to fix this, here is my trigger ( attaching the map cuz my editor's version is not english)
Just set the weapon coldown to 0.5 to see my problem.
Can someone tell how to use data value with trigger. I saw such function in trigger but i didnt understand where to define desired field. I am trying to get weapon coldown value and set it as animation speed to fix my problem. Please guys!
I downloaded your map and I fail to understand what you mean threw your post and by looking at your triggers i see you want a 20% chance do deal 300% dmg and you want your unit to do an other animation when that happens. You could do all of this threw the data editor by creating a critical effect ability and having the crits deal 300% of your dmg. Just a thought.
U said i can do it with data so explain me how do i detect this 20% chance effect before the hit will happens? i need my hero play animation when the critical strike starts to perform. I didnt find any event in unit's actor to make such stuff. If you know how it can be done explain please.
@abvdzh: Go
Action - Set Animation Time Scale (1 is 100% - - 1.2 is 120%)