I'm looking for a way to have a unit be replaced by another unit upon reaching a kill limit (100 kills), and to then change colour (but not team).
So, when a Marine goes from 99 Kills to 100 Kills, it becomes a War Pig, or if a Firebat reaches 100 kills, it becomes a Devil Dog, and both go from being Red to being Yellow, but remain under player control.
So, I'm working on a They Are Billions inspired map project, in which the player must survive Infested Terrans (As a Terran). I'm looking for a way through scripting to have any building destroyed by the Infested (teams) to become infested themselves, and to spawn several infested civilians.
Any way I can do this by replacing the destroyed structure?
0
I can't find whatever that is...
0
Could you repeat that in noob speak?
0
I have no idea how to do that. This is really confusing...
0
Right. Turns out, it didn't work. The unit changes name from Marine to War Pig, but doesn't change unit. I guess that's the Ignore Unit Cost thing?
Edit: Apparently not. And I was wrong about their name changing. Apparently they're now always called 'War Pig', even without the kills needed.
0
Okay, I've done that. How would I make it also change the unit's colour when it executes? Say, from orange to yellow?
EDIT: It didn't work, how do I make it auto-cast?
0
That doesn't help me much. I kinda know the Morph ability, but I don't know flags or validators.
0
Uh, I'm not sure how to find any of those, aside from Comparisons.
EDIT: Figured it all out now, I think.
0
I... have no idea what you just said.
0
How do I set it so it only triggers from Colonist Huts, including any the player builds?
Also, how do I get it to summon a few units from the building when it changes team?
0
I'm looking for a way to have a unit be replaced by another unit upon reaching a kill limit (100 kills), and to then change colour (but not team).
So, when a Marine goes from 99 Kills to 100 Kills, it becomes a War Pig, or if a Firebat reaches 100 kills, it becomes a Devil Dog, and both go from being Red to being Yellow, but remain under player control.
0
It's already been done, but thanks.
0
So, I'm working on a They Are Billions inspired map project, in which the player must survive Infested Terrans (As a Terran). I'm looking for a way through scripting to have any building destroyed by the Infested (teams) to become infested themselves, and to spawn several infested civilians.
Any way I can do this by replacing the destroyed structure?
0
I've been there before. Twice. I don't mesh so well with some of the folks there, so I left.
0
I... what?
0
How might I go about doing that? This isn't my first time toying around with data, but it is my first time making behaviors.