HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Creating a good respawn system?

04-27-2008, 03:49 AM#1
Valyoung
I am having one heck of a time trying to figure out a way to trigger a unit or creep to come back to life after, oh say 90 seconds.

What ive been trying is

Event: unit dies

condition: dying unit owned by so and so

action: wait 90 seconds then create unit of type dying unit at location of dying unit.......

i know for a fact that the wait part is whats killing the trigger..... i know how to do some basic triggers but alot of times i get stuck like this.

If you have any.... and i mean any advise please help me out
04-27-2008, 03:50 AM#2
Vexorian
You 'll have to store the unit type nad position before the wait. You'll have to use locals. or some timer + attachment system, since the wait is constant you can use a circular queue, I think it would be easy in GUI as well.
04-27-2008, 04:03 AM#3
Valyoung
Thank you for the advice :)