AdamGriffith
You can change this now in User CP.
- Reaction score
- 69
(This can be answered in JASS)
I need an easier way of doing this. Probably with loops. I just cant see it ATM.
Thanks for your help,
Adam
Code:
Dialog Button GUI
Events
Dialog - A dialog button is clicked for Dialog
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to Dialog_Button[2]
Then - Actions
Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision
Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision
Player - Make Player 3 (Teal) treat Player 4 (Purple) as an Ally with shared vision
Player - Make Player 4 (Purple) treat Player 3 (Teal) as an Ally with shared vision
Player - Make Player 5 (Yellow) treat Player 6 (Orange) as an Ally with shared vision
Player - Make Player 6 (Orange) treat Player 5 (Yellow) as an Ally with shared vision
Player - Make Player 7 (Green) treat Player 8 (Pink) as an Ally with shared vision
Player - Make Player 8 (Pink) treat Player 7 (Green) as an Ally with shared vision
Player - Make Player 9 (Gray) treat Player 10 (Light Blue) as an Ally with shared vision
Player - Make Player 10 (Light Blue) treat Player 9 (Gray) as an Ally with shared vision
Player - Make Player 11 (Dark Green) treat Player 12 (Brown) as an Ally with shared vision
Player - Make Player 12 (Brown) treat Player 11 (Dark Green) as an Ally with shared vision
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to Dialog_Button[3]
Then - Actions
Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision
Player - Make Player 1 (Red) treat Player 3 (Teal) as an Ally with shared vision
Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision
Player - Make Player 2 (Blue) treat Player 3 (Teal) as an Ally with shared vision
Player - Make Player 3 (Teal) treat Player 1 (Red) as an Ally with shared vision
Player - Make Player 3 (Teal) treat Player 2 (Blue) as an Ally with shared vision
Player - Make Player 4 (Purple) treat Player 5 (Yellow) as an Ally with shared vision
Player - Make Player 4 (Purple) treat Player 6 (Orange) as an Ally with shared vision
Player - Make Player 5 (Yellow) treat Player 4 (Purple) as an Ally with shared vision
Player - Make Player 5 (Yellow) treat Player 6 (Orange) as an Ally with shared vision
Player - Make Player 6 (Orange) treat Player 4 (Purple) as an Ally with shared vision
Player - Make Player 6 (Orange) treat Player 5 (Yellow) as an Ally with shared vision
Player - Make Player 7 (Green) treat Player 8 (Pink) as an Ally with shared vision
Player - Make Player 7 (Green) treat Player 9 (Gray) as an Ally with shared vision
Player - Make Player 8 (Pink) treat Player 7 (Green) as an Ally with shared vision
Player - Make Player 8 (Pink) treat Player 9 (Gray) as an Ally with shared vision
Player - Make Player 9 (Gray) treat Player 7 (Green) as an Ally with shared vision
Player - Make Player 9 (Gray) treat Player 8 (Pink) as an Ally with shared vision
Player - Make Player 10 (Light Blue) treat Player 11 (Dark Green) as an Ally with shared vision
Player - Make Player 10 (Light Blue) treat Player 12 (Brown) as an Ally with shared vision
Player - Make Player 11 (Dark Green) treat Player 10 (Light Blue) as an Ally with shared vision
Player - Make Player 11 (Dark Green) treat Player 12 (Brown) as an Ally with shared vision
Player - Make Player 12 (Brown) treat Player 10 (Light Blue) as an Ally with shared vision
Player - Make Player 12 (Brown) treat Player 11 (Dark Green) as an Ally with shared vision
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to Dialog_Button[4]
Then - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to Dialog_Button[4]
Then - Actions
Else - Actions
I need an easier way of doing this. Probably with loops. I just cant see it ATM.
Thanks for your help,
Adam