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

Need help with a trigger +Rep

Status
Not open for further replies.
Level 2
Joined
May 18, 2012
Messages
10
Yes, of course! There is a number of trigs specialized on items. I think you can handle it yourself, if really tries. Its simple
 
Level 4
Joined
Oct 20, 2011
Messages
129
As far as I know, you should combine a lot of action to do it...
  • Actions
    • For each (Integer A) from 1 to X, do (Actions)
      • Loop - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Item carried by YourUnit in slot (Integer A)) Equal to No item
          • Then - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Integer A) Equal to X
              • Then - Actions
                • Hero - Create YourItem and give it to YourUnit
              • Else - Actions
                • Hero - Create DummyItem and give it to YourUnit
          • Else - Actions
    • 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 - Conditions
            • (Item carried by YourUnit in slot (Integer A)) Equal to DummyItem
          • Then - Actions
            • Item - Remove (Item carried by YourUnit in slot (Integer A))
          • Else - Actions
 
Status
Not open for further replies.
Top