I've created an instant morph ability that I wanted the unit to be able to use while moving. I achieved this by ticking the "Transient" flag in the ability.
However, for some reason when the unit has morphed, it continues moving but no longer runs its walking animation. Once it stops moving, its animations start working again just fine.
Thanks for the reply. I am still a complete amateur when it comes to understanding Actor Events, so that may have been part of the problem.
I think I have found a work-around. Based on another post, which was about allowing a unit to use a Morph Ability while moving, I created a Dummy Ability (Effect-Instant) that issued an order to use the Morph Ability. I unchecked the "Transient Flag" on the Morph ability, and checked both "Transient", "Preempt" and "Allow Movement" on the Effect-Instant Ability. This seems to have fixed it. The unit will now stop momentarily (which I hope to address by reducing the duration of the morph to zero) but then continues on its path. It animates correctly now as well.
The transient flag causes issues with all progress parts of the morph. Use an issue order to order it to the destination. I would throw in an effect - instant ability that is cast at the target point of the move which applies a behaviour which is removed on morph completion to order the unit to the set effect used by the ability.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hi,
I've created an instant morph ability that I wanted the unit to be able to use while moving. I achieved this by ticking the "Transient" flag in the ability.
However, for some reason when the unit has morphed, it continues moving but no longer runs its walking animation. Once it stops moving, its animations start working again just fine.
Has anyone run into this problem before?
I would check the actor and see if there's a morph event that tries to change the animation.
Thanks for the reply. I am still a complete amateur when it comes to understanding Actor Events, so that may have been part of the problem.
I think I have found a work-around. Based on another post, which was about allowing a unit to use a Morph Ability while moving, I created a Dummy Ability (Effect-Instant) that issued an order to use the Morph Ability. I unchecked the "Transient Flag" on the Morph ability, and checked both "Transient", "Preempt" and "Allow Movement" on the Effect-Instant Ability. This seems to have fixed it. The unit will now stop momentarily (which I hope to address by reducing the duration of the morph to zero) but then continues on its path. It animates correctly now as well.
The transient flag causes issues with all progress parts of the morph. Use an issue order to order it to the destination. I would throw in an effect - instant ability that is cast at the target point of the move which applies a behaviour which is removed on morph completion to order the unit to the set effect used by the ability.
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