- Joined
- Dec 10, 2015
- Messages
- 85
So, I created a trigger that is supposed to create a unit at the position of every single specific type of building. In short, a Warrior must be created at the position of each Warrior Camp. But I tested it in map, and nothing happened at all.
Here is the trigger
Here is the trigger
-
Warrior spawning
-
Events
-
Time - Every 30.00 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units of type Warrior Camp) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Triggering unit)) Equal to Player 1 (Red)
-
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
-
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
-
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
-
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
-
-
Then - Actions
-
Unit - Create 1 Warrior for Player 11 (Dark Green) at (Position of (Triggering unit)) facing 0.00 degrees
-
-
Else - Actions
-
Unit - Create 1 Warrior for Player 12 (Brown) at (Position of (Triggering unit)) facing 180.00 degrees
-
-
-
-
-
-