HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Item Help

12-01-2004, 05:09 PM#1
Guest
Hi everyone i wanted to know how to make spawned creeps drop items apon death. Ive seen it before so i know its possible bvut i have no clue how.
12-01-2004, 07:20 PM#2
AFB-DieHard
You could do a trigger
event: a unit dies
actions: create item BLA at position of dieing unit
12-01-2004, 08:27 PM#3
theJ89
You can also do random drops with triggers.

ex:

Event: A unit dies

Condition: Unit equal to Goblin Zepplin 0014

Set Randomnumber: Number between 1 and 3
if ( random number is equal to 1 ): Create Scope for player Neutral Passive
if ( random number is equal to 2 ): Create Stale Cookies for player Neutral Passive
if ( random number is equal to 3 ): Create Goblin Blood for player Neutral Passive

this trigger says, when Goblin Zepplin 0014 dies, you have a 33 percent chance of getting either a scope, stale cookies, or goblin blood.