I'm attempting to make a map where the experience gained from killing units is split evenly among the heroes nearby.
The method I'm trying right now is to have a behvior that, every 0.5 seconds, fires an effect. The effect fired is of the type "Set", and have 5 different effect.
Each of these effects have a validator for how many heroes there are nearby, and they have the effect to create a "persistent". The persistent lasts 0.5 seconds and has the initial effect to apply a veterancy behavior to the unit, and the expire/final effect to remove the same behavior.
The problem I'm having is that the veterancy doesn't seem to be removed. Maybe there are other problems as well, but I haven't had a good chance to test it thoroughly yet.
Anyway, anyone has any ideas about why the veterancy isn't removed? Or any other thoughts regarding my method of doing this?
So how is what you want any different from the exp share options on the Veterancy behaviour? Veterancy behaviours cannot easily stack or be removed. If you want to add extra exp use a Modify Unit effect instead.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I'm attempting to make a map where the experience gained from killing units is split evenly among the heroes nearby.
The method I'm trying right now is to have a behvior that, every 0.5 seconds, fires an effect. The effect fired is of the type "Set", and have 5 different effect.
Each of these effects have a validator for how many heroes there are nearby, and they have the effect to create a "persistent". The persistent lasts 0.5 seconds and has the initial effect to apply a veterancy behavior to the unit, and the expire/final effect to remove the same behavior.
The problem I'm having is that the veterancy doesn't seem to be removed. Maybe there are other problems as well, but I haven't had a good chance to test it thoroughly yet.
Anyway, anyone has any ideas about why the veterancy isn't removed? Or any other thoughts regarding my method of doing this?
Anything is appreciated.
So how is what you want any different from the exp share options on the Veterancy behaviour? Veterancy behaviours cannot easily stack or be removed. If you want to add extra exp use a Modify Unit effect instead.
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