Item only can be picked up by a specific unit-type?

DeeVee

New Member
Reaction score
4
You can try this ...

Trigger:
  • Specific Item
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Claws of Attack +15
    • Actions
      • If ((Unit-type of (Triggering unit)) Equal to Blood Mage) then do (Do nothing) else do (Hero - Drop (Item being manipulated) from (Triggering unit))


Change Claws of Attack to the Item you want and change the unit type to the hero you want to be able to pick up the item.
 

NindoOne

TH.net Regular
Reaction score
17
Can I make an item that can be picked up only by a specific hero type?

Fast version, fast test, should work:thup:
Trigger:
  • Type
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Cheese
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Hero manipulating item)) Equal to Paladin
        • Then - Actions
        • Else - Actions
          • Hero - Drop (Item being manipulated) from (Hero manipulating item)
 

ykblaze

New Member
Reaction score
2
Thanks guys, +1 rep for both of you...
but is there a possibility that the unit cannot even equip the item from the beginning?
 

Komaqtion

You can change this now in User CP.
Reaction score
469
No, but this will fire before you can even see the item in your inventory ;)
So there shouldn't be a problem there ;)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top