Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Actions

If boolean_race[0] = false then do: Dialog - Create a dialog button for *your dialog* titled *Race*

If boolean_race[1] = false then do: Dialog - Create a dialog button for *your dialog* titled *Race*

If boolean_race[2] = false then do: Dialog - Create a dialog button for *your dialog* titled *Race*

If boolean_race[3] = false then do: Dialog - Create a dialog button for *your dialog* titled *Race*
Events
Time - Elapsed game time is 5.00 seconds
Actions
Dialog - Clear DuchyCHoosedialog
Dialog - Change the title of DuchyCHoosedialog to Choose Duchy:
Dialog - Create a dialog button for DuchyCHoosedialog labelled England
Set DialogButton[1] = (Last created dialog Button)
Dialog - Create a dialog button for DuchyCHoosedialog labelled Normandy
Set DialogButton[2] = (Last created dialog Button)
Player Group - Pick every player in (All players) and do (Dialog - Show DuchyCHoosedialog for (Picked player))
Events
Dialog - A dialog button is clicked for DuchyCHoosedialog
Conditions
(Clicked dialog button) equal to DialogButton[1]
Actions
Game - Display to (All players) the text: England was picked
Unit - Create 1 Footman for (Triggering player) at (Center of zone 000 <gen>) facing Standart orientation of building degrees
I just edited your trigger... you know where to find if...(EnglandPicked and NormandyPicked are booleans)
Events
Time - Elapsed game time is 5.00 seconds
Actions
Dialog - Clear DuchyCHoosedialog
Dialog - Change the title of DuchyCHoosedialog to Choose Duchy:
If - EnglandPicked = False
Dialog - Create a dialog button for DuchyCHoosedialog labelled England
Set DialogButton[1] = (Last created dialog Button)
If - NormandyPicked = False
Dialog - Create a dialog button for DuchyCHoosedialog labelled Normandy
Set DialogButton[2] = (Last created dialog Button)
Player Group - Pick every player in (All players) and do (Dialog - Show DuchyCHoosedialog for (Picked player))
Then you need another trigger:
I think that should work...
Events
Dialog - A dialog button is clicked for DuchyCHoosedialog
Conditions
(Clicked dialog button) equal to DialogButton[1]
Actions
Game - Display to (All players) the text: England was picked
Set - EnglandPicked = True
Run trigger (the upper one, where the buttons are created)
Unit - Create 1 Footman for (Triggering player) at (Center of zone 000 <gen>) facing Standart orientation of building degrees
Do the last trigger for every race
Init Game

Events


Map Init

Actions


Set PlayerGroup = (All Players)
Button clicked

Events


Dialog Button Clicked

Actions


as above......


Player Group - Remove (Triggering player) from PlayerGroup


Trigger - run Init Dialog Trigger
Init dialog

as above...

Player Group - Pick every player in PlayerGroup and do (Dialog - Show DuchyCHoosedialog for (Picked player))


