Dialog Quests !

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
926
I am changing the quest system in my map but it seems there are problems on my triggers
  • Dialog Buttons
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Dialog - Change the title of QuestDialog[0] to Pick An Option:
      • Dialog - Create a dialog button for QuestDialog[0] labelled Accept Quest
      • Set Quest_Button[0] = (Last created dialog Button)
      • Dialog - Create a dialog button for QuestDialog[0] labelled Accomplish Quest
      • Set Quest_Button[1] = (Last created dialog Button)
  • Quest Initialization
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Hero manipulating item) has an item of type Heart of the Weak) Equal to True
        • Then - Actions
          • Dialog - Show QuestDialog[0] for (Owner of (Hero manipulating item))
          • Item - Remove (Item carried by (Hero manipulating item) of type Heart of the Weak)
        • Else - Actions
  • Heart of the Weak
    • Events
      • Dialog - A dialog button is clicked for QuestDialog[0]
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to Quest_Button[0]
        • Then - Actions
          • Set QuestLimitation = (QuestLimitation + 1)
          • Trigger - Turn on Heart of the Weak Item <gen>
        • Else - Actions
  • Heart of the Weak Item
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Corrupted Treant
      • (Unit-type of (Dying unit)) Equal to Spider
      • (Unit-type of (Dying unit)) Equal to Satyr
      • (Unit-type of (Dying unit)) Equal to Satyr Trickster
      • (Unit-type of (Dying unit)) Equal to Spitting Spider
      • (Unit-type of (Dying unit)) Equal to Murloc Plaguebearer
      • (Unit-type of (Dying unit)) Equal to Satyr Shadowdancer
      • (Unit-type of (Dying unit)) Equal to Fel Beast
      • (Unit-type of (Dying unit)) Equal to Sludge Minion
      • (Unit-type of (Dying unit)) Equal to Sludge Flinger
      • (Unit-type of (Dying unit)) Equal to Murloc Flesheater
    • Actions
      • Set HeartoftheWeakItem = (HeartoftheWeakItem + 1)
      • Game - Display to (All players) the text: (|cff80ff80Heart of the Weak [ + ((String(HeartoftheWeakItem)) + /10 ]|r))
If you know the error, please share your knowledge xD
 
Level 11
Joined
Jul 9, 2009
Messages
926
the thing that does not work here is the last part, I tried to put up a message on the 3rd trigger and it showed up but when it comes to killing the creeps, the message wont show up.
  • Game - Display to (All players) the text: (|cff80ff80Heart of the Weak [ + ((String(HeartoftheWeakItem)) + /10 ]|r))
Sorry for the trouble spinnaker I think I figured out the problem
I should use Or if any conditions are true, +rep for trying to help me anyway! thank you :)
 
Status
Not open for further replies.
Top