How to make actor event telling it to play destruction animation withotu destroying the unit?
thansk in advance.
edit:
There is such thing as "model swap: Barracks Death" but even if it have exploding animation, its frozen. And i dont know exact name of this animation to play it trough "animation play" action.... It shoudl list the names of availabel animations instead of giving us blank text input field :/
edit2:
Ok there is a way to do it :) I have been searching trough model preveiwer and found that BarracksDeath model animation is called just "Death" or "Death01". So actor's events looks like this right now:
event: something happens
action: model swap -> barracksdeath
event: model swap
action: play animation sequence (not "play animation")
Name: Death
Animation name: Death
edit3:
Now we have to find out how to add explosion sound to this...
There is no such sound in actors events :/ There is birth, movement, click, yes etc etc... but there is no explode :/
edit4:
Ok, you can do that by setting up event on model swap to play unit sound called lets say this "contruction" and then in actor's sound tab change construction sound file to some explosion sound file :)
How to make actor event telling it to play destruction animation withotu destroying the unit?
thansk in advance.
edit:
There is such thing as "model swap: Barracks Death" but even if it have exploding animation, its frozen. And i dont know exact name of this animation to play it trough "animation play" action.... It shoudl list the names of availabel animations instead of giving us blank text input field :/
edit2:
Ok there is a way to do it :) I have been searching trough model preveiwer and found that BarracksDeath model animation is called just "Death" or "Death01". So actor's events looks like this right now:
event: something happens
action: model swap -> barracksdeath
event: model swap
action: play animation sequence (not "play animation")
Name: Death
Animation name: Death
edit3:
Now we have to find out how to add explosion sound to this...
There is no such sound in actors events :/ There is birth, movement, click, yes etc etc... but there is no explode :/
edit4:
Ok, you can do that by setting up event on model swap to play unit sound called lets say this "contruction" and then in actor's sound tab change construction sound file to some explosion sound file :)