Hi guys as you can see i have created a trigger that connects a dialog and now when i click the COok dialog it dosen't do anything
-
Choose
-

Events
-


Unit - A unit comes within 256.00 of Cooking Pit 0633 <gen>
-
-

Conditions
-

Actions
-


Dialog - Clear AAA_Profession_Dialog
-


Dialog - Change the title of AAA_Profession_Dialog to Choose the item you...
-


Dialog - Create a dialog button for AAA_Profession_Dialog labelled Meat
-


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


Dialog - Create a dialog button for AAA_Profession_Dialog labelled Bread
-


Set AAA_Profession_DialogButton[3] = (Last created dialog Button)
-


Dialog - Create a dialog button for AAA_Profession_Dialog labelled Cancel
-


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


Dialog - Show AAA_Profession_Dialog for (Owner of (Triggering unit))
-
-
-
Meat
-

Events
-


Dialog - A dialog button is clicked for AAA_Profession_Dialog
-
-

Conditions
-


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

Actions
-


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



If - Conditions
-




((Item carried by (Triggering unit) of type |c00408080Uncooked Meat|r) is owned) Equal to True
-
-



Then - Actions
-




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





If - Conditions
-






(Random integer number between 0 and 10) Greater than or equal to 7
-
-





Then - Actions
-






Game - Display to (Player group((Owner of (Casting unit)))) the text: You Burnt your meat.
-






Item - Remove (Item carried by (Triggering unit) of type |c00408080Uncooked Meat|r)
-
-





Else - Actions
-






Item - Remove (Item carried by (Triggering unit) of type |c00408080Uncooked Meat|r)
-






Hero - Create |c00408080Cooked Meat|r and give it to (Triggering unit)
-






Game - Display to (Player group((Owner of (Triggering unit)))) the text: You have sucsessful...
-
-
-
-



Else - Actions
-




Game - Display to (Player group((Owner of (Triggering unit)))) the text: Required Uncooked M...
-
-
-
-
Attachments
Last edited:
