• 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.

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