Hello, as the title reads i wonder if this will work properly for multiple players or if it will cause problems.
-
Dialog1
-
Events
-
Unit - A unit Gains a level
-
-
Conditions
-
((Triggering unit) is A Hero) Equal to True
-
-
Actions
-
Set VariableSet LevelingHero = (Triggering unit)
-
Dialog - Clear Dialog
-
Dialog - Change the title of Dialog to Choose your attribu...
-
Dialog - Create a dialog button for Dialog labelled |cffff0000Strength ...
-
Set VariableSet Dialog_Str = (Last created dialog Button)
-
Dialog - Create a dialog button for Dialog labelled |cff00ff00Agility |...
-
Set VariableSet Dialog_Agi = (Last created dialog Button)
-
Dialog - Create a dialog button for Dialog labelled |cff8080ffIntellige...
-
Set VariableSet Dialog_Int = (Last created dialog Button)
-
Dialog - Show Dialog for (Owner of LevelingHero)
-
-
-
Choose1
-
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_Str
-
-
Then - Actions
-
Hero - Modify Strength of LevelingHero: Add 1.
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Dialog_Agi
-
-
Then - Actions
-
Hero - Modify Agility of LevelingHero: Add 1.
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Dialog_Int
-
-
Then - Actions
-
Hero - Modify Intelligence of LevelingHero: Add 1.
-
-
Else - Actions
-
-
-