HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

spawn creeps get rand item crashs game

11-02-2003, 11:15 PM#1
Gel
hi, my game crashes after i spawn some creeps. its a dota/aos map. hers my trigs:

every 400 secs game time
play a sound
wait 2 secs
if unholy pit = is alive then run trig creep mid check conditions else do nothing

creep mid
create 1 nether drake at center of region blah
wait .2 secs
item creat random item betw 1 and 3 item type at random point in map
make last created item drop upon creature death
give last created item to last created creature

i'm cuttin out the drop upon death thing & i gave the creep hero inventory.
11-02-2003, 11:23 PM#2
Grater
You know you can right click on the name of the trigger (in the Trigger Functions box) and hit "Copy as text"... theres no need to type it out manually.

If you give a tome to a unit (non-hero) with a hero inventory you get a crash, might that be it?
11-02-2003, 11:26 PM#3
Gel
i never heard of that before, but yes its a random item so it might be a tome...
so i'll try to make the creep a hero...
11-02-2003, 11:31 PM#4
Grater
And if the unit is a hero, it'll automatically consume the tome instead of dropping it :////
Just so you know.
11-02-2003, 11:40 PM#5
Gel
yes it consumes the tome in the current patch...

in the mid lane, i have these creeps spawn. they'r powerful so they kill both sides minions. they spawn from a portal with 20,000 hp.