Hey, i got 2 triggers, and somehow they are not working, the idea of the triggers is like this 1:make up a dialog buttom clicking, 2:remove the clicked buttoms so the next wont get the same possibilities.
and somehow, its not working!
Trigger:
- Red Colonies
- Events
- Unit - A unit Finishes research
- Conditions
- (Researched tech-type) Equal to Advanced Militari Tech
- (Owner of (Researching unit)) Equal to Player 1 (Red)
- Actions
- Dialog - Clear Colonies
- Dialog - Change the title of Colonies to Select youre starti...
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- QuebecBool Equal to True
- Then - Actions
- Dialog - Create a dialog button for Colonies labelled Quebec
- Set Quebec = (Last created dialog Button)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- FloridaBool Equal to True
- Then - Actions
- Dialog - Create a dialog button for Colonies labelled Florida
- Set Florida = (Last created dialog Button)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cubabool Equal to True
- Then - Actions
- Dialog - Create a dialog button for Colonies labelled Cuba
- Set Cuba = (Last created dialog Button)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- HondurasBool Equal to True
- Then - Actions
- Dialog - Create a dialog button for Colonies labelled Honduras
- Set Honduras = (Last created dialog Button)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- SouthAmericaBool Equal to True
- Then - Actions
- Dialog - Create a dialog button for Colonies labelled South America
- Set SouthAmerica = (Last created dialog Button)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- NewOrleansBool Equal to True
- Then - Actions
- Dialog - Create a dialog button for Colonies labelled New Orleans
- Set NewOrleans = (Last created dialog Button)
- Else - Actions
- If - Conditions
- Dialog - Show Colonies for Player 1 (Red)
- Events
Trigger:
- ColoniesClick
- Events
- Dialog - A dialog button is clicked for Colonies
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to Quebec
- Then - Actions
- Set QuebecBool = True
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to Florida
- Then - Actions
- Set FloridaBool = True
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to Cuba
- Then - Actions
- Set Cubabool = True
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to Honduras
- Then - Actions
- Set HondurasBool = True
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to SouthAmerica
- Then - Actions
- Set SouthAmericaBool = True
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to NewOrleans
- Then - Actions
- Set NewOrleansBool = True
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
and somehow, its not working!