Warcraft III resources & community, 2003–2006 · archived

CREEP RESPAWN REQUEST!!!!

14 posts
#1

CREEP RESPAWN REQUEST!!!!

need a creep spawn trigger, ok here it is

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!!!


THX THX THX
#2
you could probably set it up with the reincarnate ability, or a unit spawn tigger. either way, it isnt too hard
#3
Where it died or where it started from? 'its place' doesnt help, be more spicific.
#4
Where it started from, sorry :D
#5
Hey i'll try reincarnation, thx
#6
Thx the reincarnation was what I wanted :D Sorry sopho and all other moderators, forgot about all caps rule!!!!!!!

3RD WRNING! AHH
#7
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!
#8
Thanks RaD
#9
or u could put if you want to put it were it dies

event unit dies

condition equal to watever unit


action replace unit with new units max health and mana


or if it is a hero

event unit dies

conditions equal to watever unit

action instantly revive hero at certian region


or if its a unit and want it to die and come back to certian region

event unit dies

condition equal to watever unit

action create unit for specific player and certian region

i hope this helps
#10
sweet, thx!
#11
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
#12
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)
#13
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.
#14
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?

Cheers :p