Topic: Trigger help needed.

Alright, I need to figure out a few things. I am making a map where building the structures is not avaliable, like an RP, or if you've played dawn of the dead, or resedent evil, on the net. 11 players all together. Players 1-10 allied, and 11 enemy. There are going to be five large hard to destroy monsters that will need to be all destroyed in order for victory.

1. How do I take off the starting building, and the starting units when I place the starting location?

2. Also, what trigger things would I need to make the computer stay alive without those main units. And when the 1-10 players enter a region the enimies gain 20 strenght, agility, and intelegence. (Spelling*)

3. As well as a Victory condition. i.e. If these five monsters dead equal true, then victory for the 1-10 players.

2

Re: Trigger help needed.

1. It's been a while. There should be some default triggers already in place when you open the map that have to do with regular melee games. Delete all of those. That should keep buildings from appearing on the start locations, etc.

2. I've been away from the editor too long to answer this one easily, I'll let someone else pick it up.

3. I'd personally do it this way, but I like to overcomplicate things.
Have a variable called 'deadMonsters' with type 'integer'. It should default to 0.

Have a trigger with the event 'A unit owned by player 11 dies', condition 'Unit type equal to (monster 1) or unit type equal to (monster 2) or unit type... etc' and the actions:

deadMonsters = deadMonsters + 1
if deadMonsters equals 5 then end scenario in victory else do nothing.

The artist formerly known as Viserys.

Re: Trigger help needed.

Ok, I'll try that soon.