This issue has really stumped me, so much that I made an account just for it.
I've been working for a while on making units into squads for a map. I've successfully used a hangar ability to make a squad leader variant of marine, but the fact that all of his buddies die if he gets targeted down is really gimping their combat-effectiveness. As such, I tried working on validators, effects, and behaviors to make it so that if he has at least one squad member he can't be targeted by attacks, but I couldn't find a way to do it.
I'd greatly appreciate it if anyone can help me out.
When in the hanger the units gain the hidden flag and can be targetyted by Search Area effects that apply an effect to them that then applies a buff stack or Create Persistent back to the caster. Once this effect tree link is on the unit with the hangar any effects and validation can be made to target the ammo units and the caster. I made an Arm Magazine Feedback Demo demo map a while ago but am not sure with all the patches if it is still in a fully working state. Here is the link.
So could I also use this system to make an ability that once used on the main unit is applied to the rest? Like stimpack being used on the squad leader marine and then his squad also getting the buff?
Also, I'm still wondering if it's at all possible to apply the invulnerability effect using validators. I tried playing around with the Unit Compare Charge Used and making it so that if the charges were more than 1 the effect would be applied. I figured that the units in the hangar would function as a charge, but I can't seem to get it working.
Actually it is applied to the rest and then fed back to the main unit. Once the link is created you can do a whole load of stuff. The stim pack example is very easy.
What do charges have to do with it? Charges are purely a cost for casting and are independent of the hangar.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hello,
This issue has really stumped me, so much that I made an account just for it.
I've been working for a while on making units into squads for a map. I've successfully used a hangar ability to make a squad leader variant of marine, but the fact that all of his buddies die if he gets targeted down is really gimping their combat-effectiveness. As such, I tried working on validators, effects, and behaviors to make it so that if he has at least one squad member he can't be targeted by attacks, but I couldn't find a way to do it.
I'd greatly appreciate it if anyone can help me out.
When in the hanger the units gain the hidden flag and can be targetyted by Search Area effects that apply an effect to them that then applies a buff stack or Create Persistent back to the caster. Once this effect tree link is on the unit with the hangar any effects and validation can be made to target the ammo units and the caster. I made an Arm Magazine Feedback Demo demo map a while ago but am not sure with all the patches if it is still in a fully working state. Here is the link.
http://www.sc2mapster.com/forums/resources/data-assets/46733-the-assets-of-evil/#posts
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
So could I also use this system to make an ability that once used on the main unit is applied to the rest? Like stimpack being used on the squad leader marine and then his squad also getting the buff?
Also, I'm still wondering if it's at all possible to apply the invulnerability effect using validators. I tried playing around with the Unit Compare Charge Used and making it so that if the charges were more than 1 the effect would be applied. I figured that the units in the hangar would function as a charge, but I can't seem to get it working.
Actually it is applied to the rest and then fed back to the main unit. Once the link is created you can do a whole load of stuff. The stim pack example is very easy.
What do charges have to do with it? Charges are purely a cost for casting and are independent of the hangar.
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
After a fair amount of tweaking the system is working as perfectly as I could have hoped.
Thank you for the help DrSuperEvil!
Yeah I admit it is a clunker of an old map. Now that I have more Time I am systematically updating my assets to modern patches.
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