Level 1 troll berz. dies, respawns back at its place Another level 1 troll berz. dies and respawns back at ITS place in 30 seconds, not same place as first one!!!
thats so simple: event: a unit dies conditions: unit type of (dying unit) equal to (_units_) [use 'or multiple functions first for more than 1'] actions: wait - 30 seconds, Create 1 (unit type of (dying unit)) at (position of (dying unit))
u can use this for every unit type to if it doesnt really matter... just not buildings remember!
Just so you know, RaD, that trigger doesnt work. I tried that before when I was trying to create a similar effect. There is a problem with the "position of dyting unit" when the unit has been dead for too long. It no longer registers its existance and doesnt spawn the new unit. Its better to use reagons and have the creeps in them, so when a creep dies you can order a new one to be spawned in the vecinity of there the previous creep died. -VGsatomi
Well, you could always create a location when a unit dies with a trigger, and respawn it there after X seconds, then remove the location again. rad, not so easy now huh? (tsk tsk tsk, big mouth, no brawl)
VGsatomiJust so you know, RaD, that trigger doesnt work. I tried that before when I was trying to create a similar effect. There is a problem with the "position of dyting unit" when the unit has been dead for too long. It no longer registers its existance and doesnt spawn the new unit. Its better to use reagons and have the creeps in them, so when a creep dies you can order a new one to be spawned in the vecinity of there the previous creep died. -VGsatomi
Sry VGsatomi, but this trigger works although I would write it a bit different (it didn't work in some older versions of WC3). I've tested it with 15 creeps (3 different types) and a 120 sec delay, it worked without any mistake.
Is there any way to make that trigger for a type of monster:
ie event: unit -dies con -dying unit equal to "creep" action -etc etc
or do i have to make each and every single type of creep its own trigger ??/
i was thinking of making all creeps ancient but this affect the ways that alot of spells and abilities affect them, which means alot of messing about in the object editor?.. any suggestions?