| 10-27-2006, 10:33 PM | #1 |
I have a system in place to respawn neutral creeps on my map when they are killed. It works fine except if I want them to drop items on death it will only work the first time. I don't suppose there is a way I can specify the items to be dropped the regular way (double clicking the unit on the map and editing it's Items Dropped tab), and then have it so when the unit repawns and dies again they will drop that item again? |
| 10-27-2006, 11:33 PM | #2 |
Maybe you can get a trigger with an event a unit dies (do whatever condition you might need). Then, set integer = random integer from 1-10, and if integer = 9 then you create an item at the spot. |
| 10-28-2006, 07:49 AM | #3 |
As the above poster said, you will need to trigger item drops. Depending on how far you want to go, you could set up a nice item-table type system through game cache that would be easily reusable for multiple creep types, or you could just set up basic triggers with a different one for each different drop table. |
| 10-29-2006, 09:56 PM | #4 |
I was hoping to be able to use the standard warcraft item tables. Is there a way to make exact copies of the original placed unit? Probably not...sigh. |
