I have a unit (bunker) that have a behavior which apply a periodic effect that spawn unit. Every time a unit spawn, the bunker lose 1 energy, up to a maximum of 6 energy (The bunker have 6 maximum energy). When the bunker has no energy left, the behavior can't work (so the maximum count of the unit spawned is 6).
However, I am having some problem doing this thing: When one of the spawned unit die, I want to give back 1 energy to the bunker so he can be able to spawn unit again via the behavior. I've tried some trigger editing for this and it do not work.
Does someone have any idea how I could do this effect?
Hi there.
I have a unit (bunker) that have a behavior which apply a periodic effect that spawn unit.
Every time a unit spawn, the bunker lose 1 energy, up to a maximum of 6 energy (The bunker have 6 maximum energy).
When the bunker has no energy left, the behavior can't work (so the maximum count of the unit spawned is 6).
However, I am having some problem doing this thing:
When one of the spawned unit die, I want to give back 1 energy to the bunker so he can be able to spawn unit again via the behavior.
I've tried some trigger editing for this and it do not work.
Does someone have any idea how I could do this effect?
Use a Modify Unit effect that targets the caster to restore 1 energy as the final effect of a buff on the spawned units.
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
Hi there!
Thank you for the quick answer.
It worked !
So solved?
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
yeah !