Surferkid993
God surferkid993 = new God(awesome.me);
- Reaction score
- 16
So I have this trigger and ive tried 3 things. I need a trigger that every 15 seconds of the game if a type of unit is in a region create a type of unit for the owerner of the first unit. I've tried:
Red1
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Random unit from (Units in Red1 <gen>))) Equal to Bear
Then - Actions
Unit - Create 1 Bear for (Owner of (Triggering unit)) at (Center of Red <gen>) facing Default building facing degrees
Else - Actions
Do nothing
Didn't create any units.
Red1
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Random unit from (Units in Red1 <gen>))) Equal to Bear
Then - Actions
Unit - Create 1 Bear for (Matching Unit) at (Center of Red <gen>) facing Default building facing degrees
Else - Actions
Do nothing
Did'nt make any units. Then I did it just to create it for player 1(red) so I know that that is the part I messed up. What do I use to do this?
Red1
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Random unit from (Units in Red1 <gen>))) Equal to Bear
Then - Actions
Unit - Create 1 Bear for (Owner of (Triggering unit)) at (Center of Red <gen>) facing Default building facing degrees
Else - Actions
Do nothing
Didn't create any units.
Red1
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Random unit from (Units in Red1 <gen>))) Equal to Bear
Then - Actions
Unit - Create 1 Bear for (Matching Unit) at (Center of Red <gen>) facing Default building facing degrees
Else - Actions
Do nothing
Did'nt make any units. Then I did it just to create it for player 1(red) so I know that that is the part I messed up. What do I use to do this?


