Hi
How can I destroy all buildings and units of a player at the start of a game? This is probably very simple but I'm very newb... this will actually be my first trigger. Help would be much apreciated.
Wow, thanks a lot!
I have created the trigger that you mention. I think I can do the rest of the needed modifications by myself, I'll post my progress soon.
Thank you caspersc
For the record
I had unexpected results with the trigger as it removed resources and destructible rocks. Also I wanted to destroy all the units form just one player so I modified the trigger as it follows.
Unit Group - Pick each unit in (Any units in (Entire map) owned by player (player 2 from (allies of player 1)) matching Excluded: Resources (brute),Resources (collectable), Destructable, with at most Any Amount) and do (Actions)
Actions
Unit - Kill (Picked unit)
The problems with the resources and rock was solved altough I still don't know if the trigger just eliminates one player. I have implemented it in a 4vz4 melee map but when I test it I'm the only player in the map.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi How can I destroy all buildings and units of a player at the start of a game? This is probably very simple but I'm very newb... this will actually be my first trigger. Help would be much apreciated.
Thanks
i.e
Wow, thanks a lot! I have created the trigger that you mention. I think I can do the rest of the needed modifications by myself, I'll post my progress soon. Thank you caspersc
For the record I had unexpected results with the trigger as it removed resources and destructible rocks. Also I wanted to destroy all the units form just one player so I modified the trigger as it follows.
Unit Group - Pick each unit in (Any units in (Entire map) owned by player (player 2 from (allies of player 1)) matching Excluded: Resources (brute),Resources (collectable), Destructable, with at most Any Amount) and do (Actions) Actions Unit - Kill (Picked unit)
The problems with the resources and rock was solved altough I still don't know if the trigger just eliminates one player. I have implemented it in a 4vz4 melee map but when I test it I'm the only player in the map.