Unit Group - Pick each unit in (Any units in (Entire map) owned by player Any Player matching Required: Worker, with at most Any Amount) and do (Actions)
Actions
Unit - Kill (Picked unit)
I found out that be setting filter, it destroys structures... but it also destroys minerals. Which would be fine if I could put them back =D
Unit Group - Pick each unit in (Any units in (Entire map) owned by player Any Player matching Required: Structure, with at most Any Amount) and do (Actions)
Odd, it's never killed minerals when I've used it 0_o
You could add "Excluded: Resource" in there. That should ensure that minerals/vespene aren't roped in. You can also do an If (Conditions) check in there and exclude units belonging to the Neutral player (player 0 I think? or 15? I forget. It's in Player Properties).
I need to move a players base around, and Step 1 is destroying the initial base. How do I do that?
@DerNalia: Go
Does this need to happen during the game, or is are you just looking to change what setup the game begins with?
Assuming the former, you can use a trigger that picks each unit in a given region, and checks to see if it's type "structure" and kills it if so.
@Chiquihuite: Go
how? (yeah, it needs to happen during game)
I'm already killing all units on a map
@DerNalia: Go
I found out that be setting filter, it destroys structures... but it also destroys minerals. Which would be fine if I could put them back =D
Unit Group - Pick each unit in (Any units in (Entire map) owned by player Any Player matching Required: Structure, with at most Any Amount) and do (Actions)
@DerNalia: Go
Odd, it's never killed minerals when I've used it 0_o
You could add "Excluded: Resource" in there. That should ensure that minerals/vespene aren't roped in. You can also do an If (Conditions) check in there and exclude units belonging to the Neutral player (player 0 I think? or 15? I forget. It's in Player Properties).
@Chiquihuite: Go
So... this is how I ended up doing it. I wish there was a more condense way... =(
@DerNalia: Go
Wouldn't just doing "Excluded: Uncommandable" work? Is there anything besides the minerals you're trying specifically *not* to kill?
you can check multiple filters