HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

any ways of returning the value of the level of the creep that gets killed?

09-22-2002, 08:07 AM#1
birdfoot
hi,

is there any way of capturing the lvl of the creep when it gets killed?
09-23-2002, 03:27 PM#2
birdfoot
can anyone help me out with this?? im trying to figure out a better method for dropping items for creeps so that i don have to match their unit type for each and everyone of them to decide which level of item i should drop... in tat sense, the trigger becomes smarter... :)
09-23-2002, 08:13 PM#3
Aiursrage2k
Event:
Unit - A unit owned by Neutral Hostile Dies
Condition:
(Unit type of (dying unit)) equals to (Random level # creep unit-type)
//Where # is the Creep level
Action:
//whatever..
09-24-2002, 12:29 PM#4
birdfoot
i tried this already... however, it sometimes return a value and sometimes does not... maybe becos the unit-type has to coincide with the picked random unit...