• 🏆 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!

[Trigger] Quest Help

Status
Not open for further replies.
Level 5
Joined
Jun 27, 2009
Messages
137
I haven't made too many maps with quests, so I was wondering if there was a way to set up a quest so that after you destroy two units you get the quest complete. If someone could please post the trigger with how to do it, I would be most grateful.
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
Something like this:

  • Quest Give
    • Events
      • <something that triggers the event>
    • Conditions
    • Actions
      • Quest - Create a Optional/Required quest titled <asgasgf> with the description <adfAFD>, using icon path ...
      • Quest - Enable (Last created quest)
      • Quest - Mark (Last created quest) as Discovered
      • Quest - Flash the quest dialog button
      • Quest - Display to (All players) the Quest Discovered message: <drhdfh>
      • Set Quest_Kill = (Last created quest)
      • Trigger - Turn on Quest Complete <gen>
  • Quest Complete
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit1 is dead) Equal to True
      • (Unit2 is dead) Equal to True
    • Actions
      • Trigger - Turn off (This trigger)
      • Quest - Mark (Quest_Kill) as Completed
      • Quest - Display to (All players) the Quest Completed message: fcjcjh
Quest complete is initially off.
 
Status
Not open for further replies.
Top