- Joined
- Jun 2, 2009
- Messages
- 1,137
Hello everyone. Let me start what i am looking for. If you already played Trolls & Elves you will get it what i want.
This is my system and i believe there are too many flaws.
This trigger asks to players "Do you want to be a Troll?"
If you say yes, you will be added into TrollPlease
İf you say no, you will be added into ElfPlease
My objective is: If everyone picks elves, 1 of them randomly selected as Troll and Troll unit given to this player.
If more than 1 player picks troll, 1 of them randomly selected troll and i want to give Elf rest of them
Only 1 Troll unit
Rest of them Elves.
Trolls VS Elves. Elves must be an allies.
This is my system and i believe there are too many flaws.
This trigger asks to players "Do you want to be a Troll?"
- Events
- Conditions
-
Actions
- Dialog - Clear Diyalog1
- Dialog - Change the title of Diyalog1 to Troll olmak ister m...
- Dialog - Create a dialog button for Diyalog1 labelled Evet
- Set DiyalogBoku[1] = (Last created dialog Button)
- Dialog - Create a dialog button for Diyalog1 labelled Hayir
- Set DiyalogBoku[2] = (Last created dialog Button)
-
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
-
Loop - Actions
- Dialog - Show Diyalog1 for (Picked player)
-
Loop - Actions
If you say yes, you will be added into TrollPlease
İf you say no, you will be added into ElfPlease
-
SecimAsamasi
-
Events
- Dialog - A dialog button is clicked for Diyalog1
- Dialog - A dialog button is clicked for Diyalog2
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to DiyalogBoku[1]
-
Then - Actions
- Player Group - Add (Triggering player) to TrollPlease
- Game - Display to (All players) the text: (Troll isteyenler; + (Name of (Triggering player)))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to DiyalogBoku[2]
-
Then - Actions
- Player Group - Add (Triggering player) to ElfPlease
- Game - Display to (All players) the text: (Elf isteyenler; + (Name of (Triggering player)))
- Else - Actions
-
If - Conditions
- Countdown Timer - Start SecimTimer as a One-shot timer that will expire in 5.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
SecimAsamasiDevamYeni
-
Events
- Time - SecimTimer expires
- Conditions
-
Actions
- Trigger - Run SecimAsamasiDevam <gen> (checking conditions)
-
Events
My objective is: If everyone picks elves, 1 of them randomly selected as Troll and Troll unit given to this player.
If more than 1 player picks troll, 1 of them randomly selected troll and i want to give Elf rest of them
Only 1 Troll unit
Rest of them Elves.
-
SecimAsamasiDevam
- Events
- Conditions
-
Actions
-
Player Group - Pick every player in TrollPlease and do (Actions)
-
Loop - Actions
- Set TrollSelectedPLAYER = (Random player from TrollPlease)
- Game - Display to (All players) for 2.00 seconds the text: (Name of TrollSelectedPLAYER)
- Player Group - Remove TrollSelectedPLAYER from TrollPlease
-
Player Group - Pick every player in TrollPlease and do (Actions)
-
Loop - Actions
- Player Group - Add (Picked player) to ElfPlease
-
Loop - Actions
- Player Group - Remove all players from TrollPlease
- Game - Display to (All players) for 10.00 seconds the text: Troll 31 saniye son...
-
Loop - Actions
- Countdown Timer - Start TrollSayacTimer as a One-shot timer that will expire in 5.00 seconds
- Countdown Timer - Create a timer window for TrollSayacTimer with title Troll 31 saniye son...
- Set TrollSayac = (Last created timer window)
-
Player Group - Pick every player in ElfPlease and do (Actions)
-
Loop - Actions
- Unit - Create 1 Elf for (Picked player) at BaslangicYeri facing Default building facing degrees
- Camera - Pan camera for (Picked player) to (Position of (Last created unit)) over 0.00 seconds
- Selection - Add (Last created unit) to selection for (Picked player)
-
Player Group - Pick every player in ElfPlease and do (Actions)
-
Loop - Actions
- Player - Make (Picked player) treat (Picked player) as an Ally with shared vision
-
Loop - Actions
-
Loop - Actions
-
Player Group - Pick every player in TrollPlease and do (Actions)
Trolls VS Elves. Elves must be an allies.
Last edited: