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.
Some abilities have hard coded stuff in them as a relic of beta. Try making a new ability and making every field the same individually and see if you have the same issue.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
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.
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.
Tried the Interruptible flag?
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
The Interruptible flag is set to one. The Mutalisk -> Guardian and Mutalisk -> Devourer are copies that derive from the Corruptor -> Broodlord morph.
Some abilities have hard coded stuff in them as a relic of beta. Try making a new ability and making every field the same individually and see if you have the same issue.
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
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.
That occurs if you are not destroying the actor of the original unit before the new unit actor is created.
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
How can I destroy the actor of the original unit before the new unit actor is created?
Add an event with a Destroy event action on the Unit actor for the original unit.
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