I fixed the problem. But I stumbled over another one with the Mutalisk, Guardian and Devourer, where I get the message "More than one CActorUnit persisting in the same unit scope.". After a lot of try and error I found out that this error only occurs on actors of units that don't derive from the CActorUnit GenericUnitMorph.
I have created a mod that brings most units of the first StarCraft back. But it seems that I can't cancel some morphs. Especially the morphs Hydralisk -> Lurker, Mutalisk -> Guardian and Mutalisk -> Devourer can't be cancelled. I opened this thread, to ask more professional modders what might be the reason for this behavior.
Thanks in advance.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How can I destroy the actor of the original unit before the new unit actor is created?
I fixed the problem. But I stumbled over another one with the Mutalisk, Guardian and Devourer, where I get the message "More than one CActorUnit persisting in the same unit scope.". After a lot of try and error I found out that this error only occurs on actors of units that don't derive from the CActorUnit GenericUnitMorph.
The Interruptible flag is set to one. The Mutalisk -> Guardian and Mutalisk -> Devourer are copies that derive from the Corruptor -> Broodlord morph.
Hello there,
I have created a mod that brings most units of the first StarCraft back. But it seems that I can't cancel some morphs. Especially the morphs Hydralisk -> Lurker, Mutalisk -> Guardian and Mutalisk -> Devourer can't be cancelled. I opened this thread, to ask more professional modders what might be the reason for this behavior.
Thanks in advance.