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

[Solved] Item Stacking Quest System !

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
926
this is the trigger I made xD

  • Beginners Quest
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • ((Hero manipulating item) has an item of type Beginner's Quest) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Charges remaining in (Item carried by (Hero manipulating item) of type Rank F Heart)) Greater than or equal to 10
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Charges remaining in (Item carried by (Hero manipulating item) of type Rank F Heart)) Equal to 10
            • Then - Actions
              • Hero - Drop (Item carried by (Hero manipulating item) of type Rank F Heart) from (Hero manipulating item)
              • Item - Remove (Last dropped item)
              • Hero - Drop (Item carried by (Hero manipulating item) of type Beginner's Quest) from (Hero manipulating item)
              • Item - Remove (Last dropped item)
              • Player - Add 1000 to (Owner of (Hero manipulating item)) Current gold
              • Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: |cffffcc00You have ...
            • Else - Actions
              • Hero - Drop (Item carried by (Hero manipulating item) of type Beginner's Quest) from (Hero manipulating item)
              • Item - Remove (Last dropped item)
              • Item - Set charges remaining in (Item carried by (Hero manipulating item) of type Rank F Heart) to ((Charges remaining in (Item carried by (Hero manipulating item) of type Rank F Heart)) - 10)
              • Player - Add 1000 to (Owner of (Hero manipulating item)) Current gold
              • Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: |cffffcc00You have ...
        • Else - Actions
          • Hero - Drop (Item carried by (Hero manipulating item) of type Beginner's Quest) from (Hero manipulating item)
          • Item - Remove (Last dropped item)
          • Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You dont have the r...
 
Level 11
Joined
Jul 9, 2009
Messages
926
@Pharaoh yup thats the right trigger, but the quest can only be bought in the shops so I kept it that way, +rep anyway for helping xD
 
Status
Not open for further replies.
Top