i created a behaviour 'b' with a damage response effect creating an 'illusion' of its owner. the illusions are able to create further illusions by using behaviour 'b' and i want to limit the total amount of illusions.
I used charges with charge location set to player. every time an illusion dies it returns one charge. the problem occurs that in case charges are used up the behaviour will be removed.
Neither did setting charge time start and charge time use to nonzero values change the result nor did setting charge count use to 2/-2 and charge count max to an odd number leaving behaviour 'b' with one charge. I'm seeking your advice ;) .
Just have the illusion spawning Create Unit apply a Buff back to the caster as well as the perpetuating buff onto the created unit using an Apply Behavior effect and when the caster has x stacks of the buff the other behaviour is removed using a Unit Compare Behavior Count validator.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
hi,
i created a behaviour 'b' with a damage response effect creating an 'illusion' of its owner. the illusions are able to create further illusions by using behaviour 'b' and i want to limit the total amount of illusions.
I used charges with charge location set to player. every time an illusion dies it returns one charge. the problem occurs that in case charges are used up the behaviour will be removed.
Neither did setting charge time start and charge time use to nonzero values change the result nor did setting charge count use to 2/-2 and charge count max to an odd number leaving behaviour 'b' with one charge. I'm seeking your advice ;) .
Just have the illusion spawning Create Unit apply a Buff back to the caster as well as the perpetuating buff onto the created unit using an Apply Behavior effect and when the caster has x stacks of the buff the other behaviour is removed using a Unit Compare Behavior Count 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