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

Make Destrucitbles drop items?

Status
Not open for further replies.
Level 3
Joined
Feb 13, 2008
Messages
65
You would have to make a trigger that basically says:

When a destructible dies, if the destructible is the one that you chose to drop this certain item, then create this item at the location where the destructible died.
 
Level 7
Joined
Sep 9, 2007
Messages
253
  • Tainted Blades
    • Events
      • Destructible - A destructible within (Entire map) dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to Barrel
    • Actions
      • Set temppoint = (Position of (Dying destructible))
      • Item - Create Claws of Attack +15 at temppoint
      • Custom script: call RemoveLocation(udg_temppoint)
 
Level 4
Joined
Oct 9, 2008
Messages
50
Just click on that Destrucitble (Or press enter while you have it selected) and it will have a Tab called "Items Dropped" and select "Use custom item Table" then just select "Add new set" after that just select "add item" and add what ever, if you want to make all objects drop the same (Or random) items, Go under the advanced tab in the world editor and select "Item Tables...", after that select "Add Tables" enter the name, then select "New Set" name it, then select "New Item" after that just put what ever items you want... I hope this was very useful.
 
Status
Not open for further replies.
Top