• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Item Replace

Status
Not open for further replies.
Level 15
Joined
Jul 9, 2008
Messages
1,552
im not 100% sure but i believe this will work

  • Untitled Trigger 001
    • Events
    • Conditions
    • Actions
      • Item - Pick every item in region 1 and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Picked item)) Equal to item 1
            • Then - Actions
              • Set integer = (integer + 1)
            • Else - Actions
              • Set integer = 0
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Picked item)) Equal to item 2
            • Then - Actions
              • Set integer = (integer + 1)
            • Else - Actions
              • Set integer = 0
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Picked item)) Equal to item 3
            • Then - Actions
              • Set integer = (integer + 1)
            • Else - Actions
              • Set integer = 0
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • integer Equal to 3
        • Then - Actions
          • Item - Create New item at (new region)
        • Else - Actions
take note that the point the item is created leaks also i have no idea but maybe the item group does also
 
Status
Not open for further replies.
Top