- Joined
- Apr 15, 2009
- Messages
- 13
-
Open Dialog
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Skill Gain
-
-
Actions
-
Dialog - Show Dialog_Attributes for (Owner of (Triggering unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Agi_5
-
-
Then - Actions
-
Hero - Modify Agility of (Triggering unit): Add 5
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Int_5
-
-
Then - Actions
-
Hero - Modify Intelligence of (Triggering unit): Add 5
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Str_5
-
-
Then - Actions
-
Hero - Modify Strength of (Triggering unit): Add 5
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
-
-
-
Oh and here is variables set in map loading ,
-
Dialog - Create a dialog button for Dialog_Attributes labelled Intelegence + 5
-
Set Int_5 = (Last created dialog Button)
-
Dialog - Create a dialog button for Dialog_Attributes labelled Strenght + 5
-
Set Str_5 = (Last created dialog Button)
-
Dialog - Create a dialog button for Dialog_Attributes labelled Aggility + 5
-
Set Agi_5 = (Last created dialog Button)