I would like to create a buff, or rather an ability that when unit (a) reaches a specific state it will automatically morph into unit (b) for a limited period of time or better yet, until it runs out of energy.
Here is the example:
when Primal Kerrigan reaches 250 energy (starts with 100) she will automatically morph into the Xel-naga form of herself until she runs out of energy.
I imagine this ability/ buff is pretty simple but I don't know how to implement it. If anyone could help me that'd be great!
Hi,
I would like to create a buff, or rather an ability that when unit (a) reaches a specific state it will automatically morph into unit (b) for a limited period of time or better yet, until it runs out of energy.
Here is the example:
when Primal Kerrigan reaches 250 energy (starts with 100) she will automatically morph into the Xel-naga form of herself until she runs out of energy.
I imagine this ability/ buff is pretty simple but I don't know how to implement it. If anyone could help me that'd be great!
~ SSpirit
Hey. I have not edited Primal Kerrigan but I think you can try this with Hydralisk/Lurker or Roach/Ravager too.
I believe it is easiest to create new behavior for this purpose.
I dont know what kind of map you are making but it is also possible to create upgrade (Evolution Chamber for example) that morphs the unit.
Just use the Automatic flag on the Morph ability and use a Unit Compare Vital validator.
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