• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Creep System+ v0.0.3

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
  • Like
Reactions: deepstrasz
Requires New Gen to open. (USWME)
What this system of triggers does is: When a unit dies (Preferably Neutral Hostile) it re-spawns that unit where it was originally placed within the editor. While it also sets the flying height for other functions.
Hope you enjoy!
(Yes I do realize how simple this is... though I believe it would be useful to some people.)
Please, no credit is needed.
Updates:
v0.0.2 Now when the unit is about to respawn it checks to see if enemy units are within its default acquisition range of the respawn point.
v0.0.3 Added creep patrol, so that all units in the creep group will walk around within their acquisition range of their respawn point.

Keywords:
Re-spawn, Revival, Patrol
Contents

Creep Respawning (Map)

Reviews
11:53, 5th Jan 2011 The_Reborn_Devil: My review. Status: Rejected Rating: N/A If you feel my review is unfair, or if you simply have questions, don't hesitate to contact me. Have a nice day!

Moderator

M

Moderator

11:53, 5th Jan 2011
The_Reborn_Devil:

My review.


Status: Rejected
Rating: N/A

If you feel my review is unfair, or if you simply have questions, don't hesitate to contact me. Have a nice day!
 
Level 5
Joined
Oct 24, 2007
Messages
90
This system is completely unoriginal and simple. There must be plenty of other respawn systems out there... maybe with better coding and more efficiency. It's also extremely easy to make. A respawn system is always useful for map making, mostly in RPGs and that sort of maps, that's true, but still... Also, it can be opened in normal WE. Errr... what is USWME? Excuse my ignorance.

By the way, why didn't you use a loop in the "I" trigger? Hehe, just curious.
 
This system is completely unoriginal and simple. There must be plenty of other respawn systems out there... maybe with better coding and more efficiency. It's also extremely easy to make. A respawn system is always useful for map making, mostly in RPGs and that sort of maps, that's true, but still... Also, it can be opened in normal WE. Errr... what is USWME? Excuse my ignorance.

By the way, why didn't you use a loop in the "I" trigger? Hehe, just curious.

I though I said it was really easy to do... I only made it because i always see people (noobs XD) asking for a creep respawn. USMWE is a function within New Gen, which I though you'd have to have enabled to open the map.
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
Dying unit -> triggering unit.
You leak a unit group, though only once.
I'd avoid using custom values. Systems shouldn't use it IMO. What if some other system uses custom value also?
You could save the custom value into a variable in the dying trigger. The use the variable instead of calling the function over and over again.
You could add an option that enables dealying the respawn if there is a hero nearby for example. I'd use that king of respawn. I hate when units respawn close to me.
You're using OR condition, but there's only one condition.
 
I have updated the triggers so that any enemy of the respawning unit isnt within the unit's acquisition range of its spawn point, and if it is, the trigger will repeat untill no units are in range. Anyone have any other ideas?
(Oh and I've tried to learn how to store a integer to a unit through hashtables, but im not quite done learning yet, I'll try to replace the custom value later. Sorry :/)
 
Last edited:
Top