[Trigger] Need ia trigger

Status
Not open for further replies.
Level 2
Joined
Mar 8, 2009
Messages
9
Hello,
I need a trigger which checks if a player controlls a unit of a special type in a region. It have to be like: All Players controll 0 Units of Unit-Type in Region. Please help me!
 
Level 2
Joined
Mar 8, 2009
Messages
9
Got another problem:

1. Trigger:

Every 2 Seconds of the game

Random unit from(Units in Region1) unequal to no unit

Create 1 Hydralisk for Player 1 at Center of Region 2


2. Trigger:

Every 2 Seconds of the game

Region 2 contains Random unit from(Units of type Controller) equal false

Remove Random Unit in Region 1


In Region 1there´s a unit, and in region 2 a controller. If the controller dies the unit in region 1 dies and the spawn of the first trigger shpuld stop. But if I start the game the unit in Region 1 dies and the spawn stops, but the controller is allive! What is wrong with this 2 triggers?
 
Level 2
Joined
Mar 8, 2009
Messages
9
Thanks, but how can i make that it works if the controller isn´t at the beginning there and it will appear after a few minutes?

Sry for my bad english, i´m from germany^^

I made it so, but after 4 spawned Units, no more units get spawned :( :
unbenanntvfs.jpg
 
Status
Not open for further replies.
Top