As a noob I've been struggling a lot with upgrading/morphing my units, as it seems way more complicated than it really is when you've got used to it. Throughout my experiments with morphing, I bumped my head into this error multiple times, both ingame and in the editor
Quote:
Warning: More than one CActorUnit persisting in the same unit scope!
I searched and searched, but i couldn't find a solution for this. With some units, the standard morphing-procedure worked, while with others, it didn't and I'd have multiple units in the place of one.
Here's the solution for this problem:
Go to your actor and instead of using a "create" command in your [Abilmorph*start] morph (as I assume you have), just click the "movie-icon" and choose the highest in the drop-box to the right, the default one that you start with, and it should work.
If you use the create feature, it creates a unit before destroying the other, putting two units in the same place. Bear in mind that this method only works when getting the error in the first place. If you use this for a "normal" unit morph, you will have no unit but a shadow while morphing to the other.
As a noob I've been struggling a lot with upgrading/morphing my units, as it seems way more complicated than it really is when you've got used to it. Throughout my experiments with morphing, I bumped my head into this error multiple times, both ingame and in the editor
I searched and searched, but i couldn't find a solution for this. With some units, the standard morphing-procedure worked, while with others, it didn't and I'd have multiple units in the place of one.
Here's the solution for this problem:
Go to your actor and instead of using a "create" command in your [Abilmorph*start] morph (as I assume you have), just click the "movie-icon" and choose the highest in the drop-box to the right, the default one that you start with, and it should work.
If you use the create feature, it creates a unit before destroying the other, putting two units in the same place. Bear in mind that this method only works when getting the error in the first place. If you use this for a "normal" unit morph, you will have no unit but a shadow while morphing to the other.
Just use a Model actor insead of a Unit actor for your morphing visuals. For some reason you are creating two actors that are of the unit type.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
This