• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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: 36
Status
Not open for further replies.
Top