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

[Solved] If an unit is killed by artillary (explode) it drops "undropable" item

Status
Not open for further replies.
Level 13
Joined
Oct 28, 2019
Messages
523
If an unit is killed by artillary (explode) it drops "undropable" item

If anyone knows my myth map, units has bounty, its a item that it gains if the unit kills a unit, it cant be dropped, sell etc... all assets in Object editor are right.

But a problem or a bug is happening, if the unit is killed by explosion artilhary the item drops in the ground, im trying making a trigger to remove this item.

Other solution is change "to can´t raise does not decay" this solve the problem, but the corpse is removed from the battleground, and I want it remais there

So this is the trigger Im trying doing
  • Loses Bounty
    • Events
      • Unit - A unit Loses an item
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Item-type of (Last dropped item)) Equal to Bounty Hunter 3
          • (Item-type of (Last dropped item)) Equal to Bounty Hunter 4
          • (Item-type of (Last dropped item)) Equal to Bounty Hunter 5
          • (Item-type of (Last dropped item)) Equal to Bounty Hunter 1
          • (Item-type of (Last dropped item)) Equal to Bounty Hunter 2
    • Actions
      • Item - Remove (Last dropped item)
any help will be welcome
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,876
If an unit is killed by artillary (explode) it drops "undropable" item
Use (Item being manipulated) not (Last dropped item).
1705625533480.png

See the tip at the bottom "When responding to...", it explains which Event it's used with.
 
Status
Not open for further replies.
Top