1) Please, man check my map if you will have some free time. I wont insist but realy need your help to check my effects and other stuff maybe i did something wrong or maybe i added some usless effects and that can be done much easier way.
Here is brief description of what i made: my healing unit controlled by arm magazine ability and healing allies. I used target filters to make it heal at first most wounded unit (basically this filters solved my 1) problem from previous post). But if hero's health droped under 65% healer start healing hero until it gets at least 95% life). Then it can heal other targets filtering by lower health priority.
2) i made two buffs. First is common buff that will heal any unit (as you remember i need it cuz without it healer "wants" to attack hero target and dont heal).
Second buff activating when healer detects "hero" unit with health lower than 65%. In modification field of this buff in behaviours tab i added remove my first behaviour. This second buff has his own search effect that include only hero unit.
Second buff "turning off" by other switсh effect that uses condition (hero unit hp higher than 95%).
And i did not add any apply buff effects to turn my first buff on again, but it's always appears even without that, when second buff is removed. Why is that? Mb cuz i used modification field to turn it off?
Maybe too many questions, but very need your explanation. I think this editor is very complex for non-programmers
Update: Just recognized that healer doesnt switching to hero if i add target sorts to my first search area effect :((( So deleted and reuploaded my map ;/ and so still got same problem, healer continiously switching from target to target. When period duration is near 0.2 secs it looks like shit...
Okay seems i get everything to proper work, before my head blew up, by using third behaviour buff wich controlls other two. Just check my new map and u will see how things working without any words, if u wish. The only sucky thing that remains is if two units have equivalent HP healer again starting switching between targets, but i think i just will add cooldown to my healer ability to fix this.
So, can i add cooldown with help of modification field in some particular buff (for example when Healing Ally behaviour is ON it will add coldown, when Heal Hero behaviour is ON it doesnt)????
So, how to modify my heal ability coldown when proper buff applied? Or the only thing to do is to create another similiar ability with coldown i needed?
Or you could do like with the hero in that the healer applies a busy buff the constantly orders the unit to it until it is healed the right amount but does not take priority over the hero healing buff.
With your setup I would advise having the heal effect apply a busy buff onto the target and having another switch effect where it heals units with the busy buff in preference and only heals ones without if there are no units in the area with that buff with the marker from that unit. This can be done with an Enumerate Area validator with a Unit Compare Behavior Count validator in it.
Hi again !
1) Please, man check my map if you will have some free time. I wont insist but realy need your help to check my effects and other stuff maybe i did something wrong or maybe i added some usless effects and that can be done much easier way. Here is brief description of what i made: my healing unit controlled by arm magazine ability and healing allies. I used target filters to make it heal at first most wounded unit (basically this filters solved my 1) problem from previous post). But if hero's health droped under 65% healer start healing hero until it gets at least 95% life). Then it can heal other targets filtering by lower health priority.
2) i made two buffs. First is common buff that will heal any unit (as you remember i need it cuz without it healer "wants" to attack hero target and dont heal). Second buff activating when healer detects "hero" unit with health lower than 65%. In modification field of this buff in behaviours tab i added remove my first behaviour. This second buff has his own search effect that include only hero unit. Second buff "turning off" by other switсh effect that uses condition (hero unit hp higher than 95%). And i did not add any apply buff effects to turn my first buff on again, but it's always appears even without that, when second buff is removed. Why is that? Mb cuz i used modification field to turn it off?
Maybe too many questions, but very need your explanation. I think this editor is very complex for non-programmers
Update: Just recognized that healer doesnt switching to hero if i add target sorts to my first search area effect :((( So deleted and reuploaded my map ;/ and so still got same problem, healer continiously switching from target to target. When period duration is near 0.2 secs it looks like shit...
But you are saying that it works fine for healing the hero unit even in the presence of other damaged 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
Okay seems i get everything to proper work, before my head blew up, by using third behaviour buff wich controlls other two. Just check my new map and u will see how things working without any words, if u wish. The only sucky thing that remains is if two units have equivalent HP healer again starting switching between targets, but i think i just will add cooldown to my healer ability to fix this.
So, can i add cooldown with help of modification field in some particular buff (for example when Healing Ally behaviour is ON it will add coldown, when Heal Hero behaviour is ON it doesnt)????
So, how to modify my heal ability coldown when proper buff applied? Or the only thing to do is to create another similiar ability with coldown i needed?
Or you could do like with the hero in that the healer applies a busy buff the constantly orders the unit to it until it is healed the right amount but does not take priority over the hero healing buff.
With your setup I would advise having the heal effect apply a busy buff onto the target and having another switch effect where it heals units with the busy buff in preference and only heals ones without if there are no units in the area with that buff with the marker from that unit. This can be done with an Enumerate Area validator with a Unit Compare Behavior Count validator in it.
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
Thx man. All your replies are very appreciated. I think i will move now to learn actors a bit. So i will create new thread for other questions later!
Well between me, BorgDragon and Keuken531 you will probably have all your stuff answered.
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