- Joined
- Nov 5, 2008
- Messages
- 536
I have this trigger. A player can select between two races.
This trigger is not completed.
I want these units to spawn at a random position at the map. But I want all units to spawn at the SAME random position.
How would you do that?
-
Select Race
-
Events
- Time - Elapsed game time is 2.00 seconds
- Conditions
-
Actions
- Dialog - Clear DialogSelectRace
- Dialog - Change the title of DialogSelectRace to Select your race:
- Dialog - Create a dialog button for DialogSelectRace labelled Legions of Hell
- Set DialogButton[1] = (Last created dialog Button)
- Dialog - Create a dialog button for DialogSelectRace labelled The Elven Kingdom
- Set DialogButton[2] = (Last created dialog Button)
- Dialog - Show DialogSelectRace for Player 1 (Red)
- Dialog - Show DialogSelectRace for Player 2 (Blue)
-
Events
-
Selected Hell
-
Events
- Dialog - A dialog button is clicked for DialogSelectRace
-
Conditions
- (Clicked dialog button) Equal to DialogButton[1]
-
Actions
- Unit - Create 3 Minion
- Unit - Create 1 Prophet
-
Events
I want these units to spawn at a random position at the map. But I want all units to spawn at the SAME random position.
How would you do that?