QUOTE(indecisiveman @ Jul 13 2005, 08:50 PM)
Sorry, I know this was a thread already, but I can't find it and my friend needs help. I met this guy in Custom maps and he asking how to destroy a player's men once he/she leaves. I think this means killing all player 12 unuits, right??? How can he do that? Provide a link or a straong explanation please, thank you.
Edit#1: FYI he's using Staredit, I don't know if this affects anything, so I thought I'd just say it.
[right][snapback]262069[/snapback][/right]
alright well, u cant use StarEdit alone since it wont allow u to mess around with P12 units, so he should probably use SF or load a set of triggers that deal with P12 (later on that)
now, the procedure is very simple, if theres any P12 Men around, remove all P12 Men, so in other words....
| Trigger |
| Description: |
| removing P12 units |
|
| Conditions: |
| ¤ P12 brings at least 1 Men to Anywhere |
| Actions: |
| ¤ Remove (or Kill) all Men for P12 |
if P12 has buildings as well make another trigger to remove buildings. dont use "All Units" since resources count as P12 units and would end up being removed...
now, as for loading P12 triggers, basicly thats using the Load Triggers button and loading a pre-made trigger with all the P12 Actions and Conditions in it, P12 appears in all of them as a blank space which SHOULD NOT BE CHANGED, because u cannot change it back, so change (and remove/disable) only what u need... I attached the P12 triggers file to this...