How do I make a squad of units, I know actors will be a clusterfuck I am sure :P. But I want to make a Civilian Mob, And I want it all to be 1 unit, so as the unit gets damaged, the squad members die.
Alright cool, I just thought it was a cool concept I was thinking C&C Generals then I Remembered how the units came out in squads :P. haha. Thanks man Ill check into it :P.
Yeah But I am looking for a data solution :P but yeah, Its not a big deal I dont even have a reason to make this... I just wanted to know if it was possible :P.
Maybe make some behaviors for your main squad unit labeled like squad leader, squad member 1, squad member 2, etc.. And then make an actor that is created at an offset from you guy with SOP's and do it for the amount of guys in the squad. and then for events instead of unit birth change it to behavior squad member.on create and behavior squad member.off kill. and then just make it so that when your guy gets below a certain range of health he loses the behavior that attaches that squadmate which causes the squad mate to die.
How do I make a squad of units, I know actors will be a clusterfuck I am sure :P. But I want to make a Civilian Mob, And I want it all to be 1 unit, so as the unit gets damaged, the squad members die.
You could do that using a State Monitor actor like the buildings use for creating/destroying the fire models on building damage.
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
@DrSuperEvil: Go
Alright cool, I just thought it was a cool concept I was thinking C&C Generals then I Remembered how the units came out in squads :P. haha. Thanks man Ill check into it :P.
you could do something like this too. this is an old triggering exercise with the same concept.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
Yeah But I am looking for a data solution :P but yeah, Its not a big deal I dont even have a reason to make this... I just wanted to know if it was possible :P.
Maybe make some behaviors for your main squad unit labeled like squad leader, squad member 1, squad member 2, etc.. And then make an actor that is created at an offset from you guy with SOP's and do it for the amount of guys in the squad. and then for events instead of unit birth change it to behavior squad member.on create and behavior squad member.off kill. and then just make it so that when your guy gets below a certain range of health he loses the behavior that attaches that squadmate which causes the squad mate to die.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
I remember a Heroes of Might and Magic mod did it somehow. Isn't the Conjoined type of behavior work this way?
Conjoined units simply have a shared health pool. They all die simultaneously as it hits 0.
As stated use a State Monitor actor and some clever validation.
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