I've made an unit which uses a heal ability. But when it start healing some units, it stops attacking. How can I make the unit attack while using the heal ability?
I would assume the spell has a cast time if it is that major of a thing. Might start by removing the cast time. I'm pretty sure the 'transient' flag has something to do with not stopping what they are doing too, I don't have access to the editor for another 9 hours probably however so can't check myself.
The weapon is similar to the mothership beam. It shares the same weapon options as the diamond back weapon, but it's a channeled weapon.
PD: I've remade the heal ability, making it transient and not channeled. Had to uncheck the markers and modify the validators to reference the persistent effect. Still have to check everything, but seems to be working. Will post the final solution when I have some free time.
I've made an unit which uses a heal ability. But when it start healing some units, it stops attacking. How can I make the unit attack while using the heal ability?
@IliIilI: Go
I would assume the spell has a cast time if it is that major of a thing. Might start by removing the cast time. I'm pretty sure the 'transient' flag has something to do with not stopping what they are doing too, I don't have access to the editor for another 9 hours probably however so can't check myself.
You need the transient flag and it not the be a channeled ability (check the persistent effects out).
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
If I set the transient flag, the game gets stuck when the ability is used.
PD: If I uncheck the channeled flags, the heal ability won't target new units when after healing some other ones.
Isn't there a way to make weapons work while using channeled abilities?
Not unless you make the weapon like a diamond backs which can fire independently of the 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
The weapon is similar to the mothership beam. It shares the same weapon options as the diamond back weapon, but it's a channeled weapon.
PD: I've remade the heal ability, making it transient and not channeled. Had to uncheck the markers and modify the validators to reference the persistent effect. Still have to check everything, but seems to be working. Will post the final solution when I have some free time.
An alternative would be a non channeled heal ability that uses a buff to do the dirty work.
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
Did a test today and it's still not working. Sometimes it seems to work, but suddenly the weapon stops attacking.
Will try the buff thing.
PD: Worked. Made a buff behaviour that periodically searches for targets and applies the persistent effect.