Hey everyone,
So I set the scale of an actor to be an x amount bigger than 1.0, meaning that the death animation follows the same scale. The problem with this is that every structure I have doesn't always have a death model, so I ended up using the supply depot death as the death animation; and it ends up scaling itself to whatever I set the actor to. How do I make it so that the scale for when the structure is destroyed is 1.0 and the supply depot does its normal death animation at the default scale?
There's this property called something like "Allowed Property Transfers" and you uncheck the "scale" or "model scale" boxes in there. I can't remember if it's on models or actors though, if it's on actors you'll have to setup a different UnitDeathModel for the unit's actor since that special actor gets spawned to show death models playing the death animation.
Hey everyone, So I set the scale of an actor to be an x amount bigger than 1.0, meaning that the death animation follows the same scale. The problem with this is that every structure I have doesn't always have a death model, so I ended up using the supply depot death as the death animation; and it ends up scaling itself to whatever I set the actor to. How do I make it so that the scale for when the structure is destroyed is 1.0 and the supply depot does its normal death animation at the default scale?
@jwh741: Go
There's this property called something like "Allowed Property Transfers" and you uncheck the "scale" or "model scale" boxes in there. I can't remember if it's on models or actors though, if it's on actors you'll have to setup a different UnitDeathModel for the unit's actor since that special actor gets spawned to show death models playing the death animation.
scale model itself or send message SetScale from unit actor to _DeathModel when unit dies
@abvdzh: Go
I don't want to mess with the scale model itself, so how do I send a message? Is it done somewhere through the events?
@jwh741: Go
you create a new event in the actor.
the event you want, would be Unit Death and the action would be SetScale with value 1.0.
Watch in marine actor