• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Not registering the quest as completed...

Status
Not open for further replies.
Level 2
Joined
Feb 8, 2008
Messages
7
For the first level of my campaign I have three quests. When I complete the mission it won't register the quest as complete or it completes the wrong quest. I have the variables set up. Any assistance will be appreciated. :infl_thumbs_up:
 
Last edited:
Level 5
Joined
Jan 11, 2006
Messages
110
heres what you need, two different triggers that will work.

First you need to set your quest and any requirements as a variable(See Below)

  • Quest1
    • Events
      • Unit - A unit enters (Current camera bounds)
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Quest - Flash the quest dialog button
      • Quest - Display to (All players) the Quest Discovered message: Quest Discovered: ...
      • Quest - Create a Required quest titled Do the quest with the description Blah, using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
      • Set Quest1 = (Last created quest)
      • Quest - Create a quest requirement for Quest1 with the description Kill the unit
      • Set Questr1 = (Last created quest requirement)
      • Quest - Create a quest requirement for Quest1 with the description Then return to me
      • Set Questr2 = (Last created quest requirement)
      • Trigger - Turn on CompleteQuest1 <gen>
      • Trigger - Turn off (This trigger)

Then when the first requirement is completed use another trigger

  • CompleteQuest1
    • Events
      • Unit - No unit Dies
    • Conditions
    • Actions
      • Quest - Flash the quest dialog button
      • Quest - Display to (All players) the Quest Update message: You finished part o...
      • Quest - Mark Questr1 as Completed
      • Trigger - Turn on CompleteQuest1more <gen>
      • Trigger - Turn off (This trigger)

Then when the final requirement is done use this.

  • CompleteQuest1more
    • Events
      • Unit - A unit enters (Current camera bounds)
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Quest - Flash the quest dialog button
      • Quest - Display to (All players) the Quest Update message: You finished the qu...
      • Quest - Mark Questr2 as Completed
      • Quest - Mark Quest1 as Completed
      • Trigger - Turn off (This trigger)
Of course you have to change the regions and things to do to complete requirements, but this is how to complete quests in the propor order/when you want
 
Status
Not open for further replies.
Top