D
Daved0208
Guest
Ok...so i made two dialog boxes...one for builders and one for killers..both of them show up for the right people and all, but when i click on any of the killer buttons the units dont show up or spawn....here is the trigggers im using
Show dialog
Events
Time - Elapsed game time is 15.00 seconds
Actions
-------- Setup for Dialog 2 --------
Dialog - Clear KillerDialog1
Dialog - Change the title of KillerDialog1 to Choose a Killer
Dialog - Create a dialog button for KillerDialog1 labelled Corrupted Polar Bear
Set DialogButtons[1] = (Last created dialog Button)
Dialog - Create a dialog button for KillerDialog1 labelled Ice Revenant
Set DialogButtons[2] = (Last created dialog Button)
Dialog - Create a dialog button for KillerDialog1 labelled Wraith
Set DialogButtons[3] = (Last created dialog Button)
Dialog - Create a dialog button for KillerDialog1 labelled Nerubian Queen
-------- Showing the dialog to killers only --------
Player Group - Pick every player in (All allies of Player 12 (Brown)) and do (Dialog - Show KillerDialog1 for Player 12 (Brown))
Player Group - Pick every player in (All allies of Player 12 (Brown)) and do (Dialog - Show KillerDialog1 for Player 11 (Dark Green))
Do dialog
Events
Dialog - A dialog button is clicked for KillerDialog1
Actions
-------- Switch to page 1 --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButtons2[4]
Then - Actions
Dialog - Change the title of KillerDialog1 to Choose a Killer
Dialog - Show KillerDialog1 for Player 12 (Brown)
Skip remaining actions
Else - Actions
-------- Create the chosen Killer --------
For each (Integer A) from 1 to 4, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButtons2[(Integer A)]
Then - Actions
Unit - Create 1 Corrupted Polar Bear for (Triggering player) at ((Triggering player) start location) facing Default building facing (270.0) degrees
Game - Display to (All allies of Player 12 (Brown)) the text: (Name of (Last created unit))
Else - Actions
PLEASE HELP! I have no idea what im doing wrong..except that i only want one eprson to come out, but all four do...help...if needed..i can send you the map and just have you do it for me?
Show dialog
Events
Time - Elapsed game time is 15.00 seconds
Actions
-------- Setup for Dialog 2 --------
Dialog - Clear KillerDialog1
Dialog - Change the title of KillerDialog1 to Choose a Killer
Dialog - Create a dialog button for KillerDialog1 labelled Corrupted Polar Bear
Set DialogButtons[1] = (Last created dialog Button)
Dialog - Create a dialog button for KillerDialog1 labelled Ice Revenant
Set DialogButtons[2] = (Last created dialog Button)
Dialog - Create a dialog button for KillerDialog1 labelled Wraith
Set DialogButtons[3] = (Last created dialog Button)
Dialog - Create a dialog button for KillerDialog1 labelled Nerubian Queen
-------- Showing the dialog to killers only --------
Player Group - Pick every player in (All allies of Player 12 (Brown)) and do (Dialog - Show KillerDialog1 for Player 12 (Brown))
Player Group - Pick every player in (All allies of Player 12 (Brown)) and do (Dialog - Show KillerDialog1 for Player 11 (Dark Green))
Do dialog
Events
Dialog - A dialog button is clicked for KillerDialog1
Actions
-------- Switch to page 1 --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButtons2[4]
Then - Actions
Dialog - Change the title of KillerDialog1 to Choose a Killer
Dialog - Show KillerDialog1 for Player 12 (Brown)
Skip remaining actions
Else - Actions
-------- Create the chosen Killer --------
For each (Integer A) from 1 to 4, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButtons2[(Integer A)]
Then - Actions
Unit - Create 1 Corrupted Polar Bear for (Triggering player) at ((Triggering player) start location) facing Default building facing (270.0) degrees
Game - Display to (All allies of Player 12 (Brown)) the text: (Name of (Last created unit))
Else - Actions
PLEASE HELP! I have no idea what im doing wrong..except that i only want one eprson to come out, but all four do...help...if needed..i can send you the map and just have you do it for me?