- Joined
- Aug 13, 2007
- Messages
- 309
JASS:
// Projectile Art
ActorSend(ActorFromScope(ActorScopeFromUnit(lp_projectile), "::Main"), "ModelSwap {" + lp_model + "} {" + IntToString(0) + "}");
ActorSend(ActorFromScope(ActorScopeFromUnit(lp_projectile), "::Death"), "ModelSwap {" + lp_model + "} {" + IntToString(0) + "}");
This succeeds at changing the units actor but not the death actor. The default actor for the unit I'm changing is:
Code:
Death:250mmStrikeCannonsImpact:250mmStrikeCannonsSound:-1.000000,-1.000000:250mmStrikeCannonsSound
When the projectile dies it's always just the 250mmStrikeCannonImpact model (and of course sounds, I want to modify those too if possible). I don't know what actor message I'm supposed to send though to change the death actor. :eath does not work.
Same problem as here but I'm not as n00b anymore: http://www.hiveworkshop.com/forums/starcraft-ii-editor-help-zone-647/unitsetvariation-does-not-change-death-models-198884/