- Joined
- Jun 7, 2008
- Messages
- 440
I got a trigger dealing with dialog buttons and a couple other things:
-
Events
-
A dialog button is clicked for Duelers
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-

If - Conditions
-


(clicked dialog) equal to DONOTHING
-
-

Then - Actions
-


skip remaining actions
-
-

Else - Actions
-


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

If - Conditions
-


(clicked dialog) equal to Defeat
-
-

Then - Actions
-


set Defeated = (Triggering player)
-


Trigger - Run defeat <gen> checking conditions
-
-

Else - Actions
-


Do nothing
-
-
-
defeat
-
Events
-
Conditions
-
Actions
-

Countdown Timer - Pause dueltimer
-

Dialog - Hide Duelists for (Triggering player)
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-

If - Conditions
-


((Defeated is in upgrader) equal to false)
-
-

Then - Actions
-


Trigger - run Defeat deny
-


Skip remaining actions
-
-

Else - Actions
-


Do nothing
-
-
-
Unit - Move Dueler instantly to LOC_One
-
Custom script: call RemoveLocation(udg_LOC_One)
-
Add 400 to Defeated current gold
-
Defeat Deny
-
Events
-
Conditions
-
Actions
-

Dialog - Hide Duelists for (Triggering player)
-

Quest - Display to (Player group((Triggering player))) the Hint message: Your not an upgrade...
-

Wait 0.50 seconds
-

Dialog - Show Duelists for (Triggering player)
-

Countdown Timer - Resume dueltimer
-

Trigger - Turn off (This trigger)
-


