• 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 can be droped: false + Unit Inventory can dropb items = Can drop item..

Status
Not open for further replies.
Level 8
Joined
Sep 30, 2012
Messages
205
Hi i have a certain item that units can't /shouldn't be able to drop upon death.
so the item says it can't be dropped..
But the Unit Inventory says they can..
So they will drop even the undroppable items on death..
Anyone knows how to fix this?

These triggers are also useless..
Items are still considered owned, even if the unit is dead..
and an owned item isn't considered to be in any region.. so they aren't helpful at all..

  • DrpTm
    • Events
      • Unit - A unit Loses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Lightning Balls
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Item being manipulated) is Owned) Equal to False
        • Then - Actions
          • Item - Remove (Item being manipulated)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Item being manipulated) is in (Entire map)) Equal to True
        • Then - Actions
          • Item - Remove (Item being manipulated)
        • Else - Actions
oh god the title is all messed up sorry...

cheers thx in advance
 
Last edited:
Level 37
Joined
Mar 6, 2006
Messages
9,243
How about this
  • Untitled Trigger 118
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • For each (Integer i) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item carried by (Triggering unit) in slot i)) Equal to Claws of Attack +15
            • Then - Actions
              • Item - Remove (Item carried by (Triggering unit) in slot i)
            • Else - Actions
 
Status
Not open for further replies.
Top