• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Item Carry = 1

Status
Not open for further replies.
Trigger

  • Stack Items
    • Event
      • Unit - A unit accquires an item
    • Condition
      • Or - Any (Conditions) are true
        • Condition
          • (Item-type of (Item being manipulated)) equal to ItemYouWant
    • Event
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • (Item carried by (Triggering unit) in slot (Integer A)) Gleich (Item being manipulated)
            • 'THEN'-Aktionen
              • Set SlotNumber = (Integer A)
            • 'ELSE'-Aktionen
      • For each (Integer B) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • And - All (Conditions) are true
                • Conditions
                  • (Integer B) not equal to SlotNumber
                  • (Item-type of (Item carried by (Triggering unit) in slot SlotNumber)) equal to (Item-type of (Item carried by (Triggering unit) in slot (Integer B)))
            • 'THEN'-Actions
              • Item - Set charges remaining in (Item carried by (Triggering unit) in slot (Integer B)) to ((Charges remaining in (Item carried by (Triggering unit) in slot (Integer B))) + (Charges remaining in (Item being manipulated)))
              • Item - Remove (Item being manipulated)
            • 'ELSE'-Actions
This trigger does not only remove the item. I adds the charges of the picked item to the item already carried.
 
Status
Not open for further replies.
Back
Top