• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Non-Leaking Respawn Trigger

Status
Not open for further replies.
Level 9
Joined
Apr 20, 2008
Messages
125
I'm in need of a few respawn triggers for my RPG map. I've tried using the system that is in the Tutorials section, but I think it leaks. At the very least, when I use that system, the map continually lags more and more as enemy units respawn, to the point of unplayability.

Does anyone have a suggestion? Thank you in advance!
 
Level 9
Joined
Apr 20, 2008
Messages
125
Yes, that was it. If the script was written wrong the map wouldn't even have started :p.

I should add that I used the first trigger shown in that tutorial, as well as the "Using Custom Scripts to prevent bugs" trigger. I DID NOT use the third one, "Standard Triggering", and I DID NOT use the last one, "Adding a creep to Respawn".

I think the exact custom script I added to the second trigger (the "Using Custom Scripts to prevent bugs" one), was something like:
call RemoveLocation (udg_Creep_Point[ii])
 
Status
Not open for further replies.
Top