Spoiler:
Code: Select all
Difficulty Set
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Dialog - Change the title of Dialogbox[1] to Difficulty Set?
Dialog - Create a dialog button for Dialogbox[1] labelled Cakewalk (10%) with hotkey: 1
Set DialogButton[1] = (Last created dialog Button)
Dialog - Create a dialog button for Dialogbox[1] labelled Noobish (20%) with hotkey: 2
Set DialogButton[2] = (Last created dialog Button)
Dialog - Create a dialog button for Dialogbox[1] labelled Super Easy (30%) with hotkey: 3
Set DialogButton[3] = (Last created dialog Button)
Dialog - Create a dialog button for Dialogbox[1] labelled Easy (40%) with hotkey: 4
Set DialogButton[4] = (Last created dialog Button)
Dialog - Create a dialog button for Dialogbox[1] labelled Normal (50%) with hotkey: 5
Set DialogButton[5] = (Last created dialog Button)
Dialog - Create a dialog button for Dialogbox[1] labelled Hard (60%) with hotkey: 6
Set DialogButton[6] = (Last created dialog Button)
Dialog - Create a dialog button for Dialogbox[1] labelled Heroic (70%) with hotkey: 7
Set DialogButton[7] = (Last created dialog Button)
Dialog - Create a dialog button for Dialogbox[1] labelled Legendary (80%) with hotkey: 8
Set DialogButton[8] = (Last created dialog Button)
Dialog - Create a dialog button for Dialogbox[1] labelled Suicidal (90)% with hotkey: 9
Set DialogButton[9] = (Last created dialog Button)
Dialog - Create a dialog button for Dialogbox[1] labelled Stupid (100%) with hotkey: 10
Set DialogButton[10] = (Last created dialog Button)
Dialog - Show Dialogbox[1] for Player 1 (Red)
Spoiler:
Code: Select all
Difficulty
Events
Dialog - A dialog button is clicked for Dialogbox[1]
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[1]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to C...
Set Difficulty = (Difficulty + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[2]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to N...
Set Difficulty = (Difficulty + 2)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[3]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to S...
Set Difficulty = (Difficulty + 3)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[4]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to E...
Set Difficulty = (Difficulty + 4)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[5]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to N...
Set Difficulty = (Difficulty + 5)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[6]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to H...
Set Difficulty = (Difficulty + 6)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[7]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to H...
Set Difficulty = (Difficulty + 7)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[8]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to L...
Set Difficulty = (Difficulty + 8)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[9]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to S...
Set Difficulty = (Difficulty + 9)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DialogButton[10]
Then - Actions
Wait 1.00 seconds
Game - Display to (All players) the text: Difficulty set to S...
Set Difficulty = (Difficulty + 10)
Else - Actions
Wait 1.00 seconds
Dialog - Show Dialogbox[2] for Player 1 (Red)
Game - Display to (All players) the text: (Difficulty is set to + (String(Difficulty)))