I have been trying to figure this out for days now and i have spent way to much time on this. I have a hero unit that i have given the morph ability to. I have a custom zealot unit that can morph into a zergling. The morphing works fine and everything, but if i kill units and gain experience then try to morph i get the new zergling unit and lose all the experience i had. I would like to find a way to retain the experience through the 2 units. Any help on this would be much appreciated.
That would be an easy fix and I would have felt stupid if that would have worked but it didn't. Now all 3 units (zealot, egg and zergling) have the veterancy but it is still not retaining the experience through the morph. When the zergling is created it clears the experience back to 0.
I have been trying to figure this out for days now and i have spent way to much time on this. I have a hero unit that i have given the morph ability to. I have a custom zealot unit that can morph into a zergling. The morphing works fine and everything, but if i kill units and gain experience then try to morph i get the new zergling unit and lose all the experience i had. I would like to find a way to retain the experience through the 2 units. Any help on this would be much appreciated.
The intermediate cocoon unit must also have the veterancy behaviour.
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
That would be an easy fix and I would have felt stupid if that would have worked but it didn't. Now all 3 units (zealot, egg and zergling) have the veterancy but it is still not retaining the experience through the morph. When the zergling is created it clears the experience back to 0.
I figured it out. i had to completely rework my morph ability from the ground up but i got it working. Thank you so much for the advise!!!