Hi, i have a problem. I want to change owner of behavior when it is applied to unit. For example, hero casts ability, which is applies buff to enemy unit. As standard, owner of this buff is caster, but i need to change owner of this buff to target unit. Is it possible to do without triggers? Thanks.
The enemy unit should have a buff that has a validator (remove) that detects it doesn't have a buff. When it does, the buff will be removed, and the final effect on the buff will be applying another buff on itself.
Here is a map showing how I did it. Once again I am not sure if this is the correct way, there might be another easier way which I don't know of.
The enemy unit should have a buff that has a validator (remove) that detects it doesn't have a buff. When it does, the buff will be removed, and the final effect on the buff will be applying another buff on itself.
Here is a map showing how I did it. Once again I am not sure if this is the correct way, there might be another easier way which I don't know of.
Your solution won't work if behavior have a duration, but in my case it's have.
You could just give the "scared" buff a duration, i just left it there untouch. You can replace "scared" buff with any buff you want.
Thanks, it works, but only if you add in Scared buff in expired effect -> effect which applies buff TargetedAlarm buff. Otherwise it will work only once, because buff removes, when Scared buff applies.
Hi, i have a problem. I want to change owner of behavior when it is applied to unit. For example, hero casts ability, which is applies buff to enemy unit. As standard, owner of this buff is caster, but i need to change owner of this buff to target unit. Is it possible to do without triggers? Thanks.
http://www.youtube.com/user/RussianMapster
Not sure if this is the correct way but...
The enemy unit should have a buff that has a validator (remove) that detects it doesn't have a buff. When it does, the buff will be removed, and the final effect on the buff will be applying another buff on itself.
Here is a map showing how I did it. Once again I am not sure if this is the correct way, there might be another easier way which I don't know of.
You can use a Modify Unit effect a Buff behaviour or triggers.
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
Your solution won't work if behavior have a duration, but in my case it's have.
I did not got how modify unit effect can help me. Can you show me, please? I have done solution with triggers, but i want to do it in data editor.
http://www.youtube.com/user/RussianMapster
You could just give the "scared" buff a duration, i just left it there untouch. You can replace "scared" buff with any buff you want.
Thanks, it works, but only if you add in Scared buff in expired effect -> effect which applies buff TargetedAlarm buff. Otherwise it will work only once, because buff removes, when Scared buff applies.
http://www.youtube.com/user/RussianMapster
Ah right, sorry I totally miss that one out. Glad you figured it out :)