- Joined
- May 4, 2010
- Messages
- 614
i am useing a trigger where a hero levels to lvl 30 and it is replaced (can do that bit) but i am trying to use a dialog to pick what you evolve into next here is the trigger i have got so far
-
Events
-

Unit - A unit Gains a level
-
-
Conditions
-

(Unit-type of (Leveling Hero)) Equal to Kobold
-

(Hero level of (Leveling Hero)) Greater than or equal to 30
-
-
Actions
-

Dialog - Clear Dialog
-

Dialog - Change the title of Dialog to Pick your evolution
-

Dialog - Create a dialog button for Dialog labelled Kobold Worrior
-

Set DialogeButton[1] = (Last created dialog Button)
-

Dialog - Create a dialog button for Dialog labelled Kobold Geomancer
-

Set DialogeButton[2] = (Last created dialog Button)
-

Dialog - Show Dialog for (Owner of (Leveling Hero))
-
-
Events
-

Dialog - A dialog button is clicked for Dialog
-
-
Actions
-

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-


If - Conditions
-



(Clicked dialog button) Equal to DialogeButton[1]
-
-


Actions
-
-

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-


If - Conditions
-



(Clicked dialog button) Equal to DialogeButton[1]
-
-


Then - Actions
-



Unit - Replace (Leveling Hero) with a Kobold Worrior using The old unit's relative life and mana
-



Selection - Select (Last created unit) for (Owner of (Leveling Hero))
-
-


Else - Actions
-
-

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-


If - Conditions
-



(Clicked dialog button) Equal to DialogeButton[2]
-
-


Then - Actions
-



Unit - Replace (Leveling Hero) with a Kobold Geomancer using The old unit's relative life and mana
-



Selection - Select (Last replaced unit) for (Owner of (Leveling Hero))
-
-


Else - Actions
-
-

