• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Quests quest quests

Status
Not open for further replies.
Level 11
Joined
Jun 20, 2009
Messages
880
Is this easy enough? It uses only 2 triggers and 2 variables, and works for 12 players.

  • Start and Finish
    • Events
      • Unit - A unit comes within 256.00 of Pandaren Brewmaster 0006 <gen>
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TurtleString[(Player number of (Owner of (Triggering unit)))] Equal to empty
        • Then - Actions
          • Set TurtleString[(Player number of (Owner of (Triggering unit)))] = on
          • Quest - Display to (All players) the Quest Discovered message: Turtle Quest: - ...
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TurtleString[(Player number of (Owner of (Triggering unit)))] Equal to pending
        • Then - Actions
          • Player - Add 50 to (Owner of (Triggering unit)) Current gold
          • Quest - Display to (All players) the Quest Discovered message: Turtle Quest Comple...
          • Set TurtlesKilled[(Player number of (Owner of (Triggering unit)))] = 0
          • Set TurtleString[(Player number of (Owner of (Triggering unit)))] = empty
        • Else - Actions
  • Kill
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Ninja Turtle
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TurtleString[(Player number of (Owner of (Killing unit)))] Equal to on
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • TurtlesKilled[(Player number of (Owner of (Killing unit)))] Greater than or equal to 5
            • Then - Actions
              • Quest - Display to (All players) the Quest Update message: You have killed 5 N...
              • Set TurtleString[(Player number of (Owner of (Killing unit)))] = pending
            • Else - Actions
              • Set TurtlesKilled[(Player number of (Owner of (Killing unit)))] = (TurtlesKilled[(Player number of (Owner of (Killing unit)))] + 1)
              • Quest - Display to (All players) the Quest Update message: (Turtles Killed: + ((String(TurtlesKilled[(Player number of (Owner of (Killing unit)))])) + /5))
        • Else - Actions
 

Attachments

  • Quest Shit.w3x
    22.1 KB · Views: 35
Status
Not open for further replies.
Top