- Joined
- Oct 29, 2010
- Messages
- 6
Hi there.
Basically I have these triggers already.
How come this isn't working? Does a dialog pause the game? If it does how will this affect the game when there are multiple players. eg. One player has selected but one hasn't, will the 10 second trigger fire?
Any and all help is welcome. Thanks.
Basically I have these triggers already.
-
DriverSelectDialog
-
Events
-
Time - Elapsed game time is 0.10 seconds
-
-
Conditions
-
Actions
-
Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is playing)) and do (Actions)
-
Loop - Actions
-
Player Group - Add (Picked player) to DriverHasntSelected
-
-
-
Dialog - Clear DriverSelectDialog
-
Dialog - Change the title of DriverSelectDialog to Please select one:
-
Dialog - Create a dialog button for DriverSelectDialog labelled |cff00FF00Shooter|r
-
Set DriverSelectButton[1] = (Last created dialog Button)
-
Dialog - Create a dialog button for DriverSelectDialog labelled |cffFF0000Driver|r
-
Set DriverSelectButton[2] = (Last created dialog Button)
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Dialog - Show DriverSelectDialog for (Picked player)
-
-
-
Player Group - Pick every player in DriverHasBeen and do (Actions)
-
Loop - Actions
-
Dialog - Hide DriverSelectDialog for (Picked player)
-
-
-
-
-
DriverSelectDialogPlayer
-
Events
-
Dialog - A dialog button is clicked for DriverSelectDialog
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to DriverSelectButton[1]
-
-
Then - Actions
-
Player Group - Add (Triggering player) to ShooterPlayerGroup
-
Player Group - Remove (Triggering player) from DriverHasntSelected
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to DriverSelectButton[2]
-
-
Then - Actions
-
Player Group - Add (Triggering player) to DriverPlayerGroup
-
Player Group - Remove (Triggering player) from DriverHasntSelected
-
-
Else - Actions
-
-
-
-
DriverSelectPlayer
-
Events
-
Time - Elapsed game time is 10.00 seconds
-
-
Conditions
-
Actions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Dialog - Hide DriverSelectDialog for (Picked player)
-
-
-
Player Group - Pick every player in DriverHasntSelected and do (Actions)
-
Loop - Actions
-
Player Group - Add (Picked player) to ShooterPlayerGroup
-
-
-
Trigger - Turn off DriverSelectDialogPlayer <gen>
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of players in DriverPlayerGroup) Equal to 0
-
-
Then - Actions
-
Sound - Play AutoCastButtonClick1 <gen>
-
Game - Display to (All players) the text: Not enough players ...
-
Set DriverPlayer = (Random player from ShooterPlayerGroup)
-
Player Group - Add DriverPlayer to DriverHasBeen
-
Wait 2.00 seconds
-
Sound - Play AutoCastButtonClick1 <gen>
-
Game - Display to (All players) the text:
-
Game - Display to (All players) the text: ((Name of DriverPlayer) + has been selected as the |cffFF0000Driver|r.)
-
Trigger - Run DriverInit <gen> (checking conditions)
-
Trigger - Run ShooterInit <gen> (checking conditions)
-
Trigger - Run GameMultiboardInit <gen> (checking conditions)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of players in DriverPlayerGroup) Greater than 1
-
-
Then - Actions
-
Sound - Play AutoCastButtonClick1 <gen>
-
Game - Display to (All players) the text: More than one playe...
-
Set DriverPlayer = (Random player from DriverPlayerGroup)
-
Player Group - Add DriverPlayer to DriverHasBeen
-
Wait 2.00 seconds
-
Sound - Play AutoCastButtonClick1 <gen>
-
Game - Display to (All players) the text:
-
Game - Display to (All players) the text: ((Name of DriverPlayer) + has been selected as the |cffFF0000Driver|r.)
-
Trigger - Run DriverInit <gen> (checking conditions)
-
Trigger - Run ShooterInit <gen> (checking conditions)
-
Trigger - Run GameMultiboardInit <gen> (checking conditions)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of players in DriverPlayerGroup) Equal to 1
-
-
Then - Actions
-
Sound - Play AutoCastButtonClick1 <gen>
-
Game - Display to (All players) the text: Only one player has...
-
Set DriverPlayer = (Random player from DriverPlayerGroup)
-
Player Group - Add DriverPlayer to DriverHasBeen
-
Wait 2.00 seconds
-
Sound - Play AutoCastButtonClick1 <gen>
-
Game - Display to (All players) the text:
-
Game - Display to (All players) the text: ((Name of DriverPlayer) + has been selected as the |cffFF0000Driver|r.)
-
Trigger - Run DriverInit <gen> (checking conditions)
-
Trigger - Run ShooterInit <gen> (checking conditions)
-
Trigger - Run GameMultiboardInit <gen> (checking conditions)
-
-
Else - Actions
-
-
-
How come this isn't working? Does a dialog pause the game? If it does how will this affect the game when there are multiple players. eg. One player has selected but one hasn't, will the 10 second trigger fire?
Any and all help is welcome. Thanks.