How to: Create a Creep Revival System

Icyculyr

I'm a Mac
Reaction score
68
I do not think people who need to seek triggers (especially in GUI) know how to clean leaks, and think that someone with as much posts and rep as you, would make clean all leaks, If you wanted, you could put a disclaimer on your tutorial saying it has minor leaks, or not, I do not really mind.

Cheers
 
A

AK-47Pirates

Guest
I don't know if I could, i can only find Set Life to %, and Set Life to Value. Theres no just "add 60 life"

I've been thinking about reworking tranquility, but that would be hard. If it's a tough solution that's okay. I think I'll figure something out eventually.

If it does leak, then my map would be screwed, cause hundreds of creeps will be killed with multiple players. How caould i get rid of leak? I've read all kinds of leak tutorials, but it's just hard to understand. Would it be something like:

call RemoveLocation(udg_temppoint) ???

I know what leaks are, and how to identify them, but removing, NEVER!
 

Tinki3

Special Member
Reaction score
418
>Theres no just "add 60 life"

Actually, there is:

Unit - Set Life of (Triggering unit) to Life of ((Triggering unit) + 60)

That can be achieved by using the function "Arithmetic", which lets you add/subtract/times/divide 2 values.

If you need anymore help on this, feel free to post here again.

*Does this tut meet another mod's approval?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
874
Very detailed, and works well by making creeps revive at their initial locations.

Approved. :D
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
874
> I noticed the title was changed to just, "Creep Revival System"

I did that for the sake of the WET Site. In the User Submitted tutorial section, they go by alphabetical order; I did that so it would fall under 'Creep', but it's not a big thing.
 

chewett

New Member
Reaction score
0
Great tut + rep

just one thing to say though

where you create the unit again at ((Center of (Entire map)) i found that the points were taken from point 0 0

if your center of map is 0 0 this is ok but mine wasn't as i enlarged it and stuff

i found a way to get around this by recreating the unit at the point ((Point(0.00, 0.00)) with offset something

just helping if someone find this difficult
 

SaintMorose

New Member
Reaction score
26
Great tut + rep

i found a way to get around this but recreating the unit at the point ((Point(0.00, 0.00)) with offset something
Agreed its a great tutorial but because the point 0,0 works in more situations you might want to add that to the tutorial

also for some reason my editor wouldnt accept the custom script lines

if anyone else has that problem they can replace them with
Set Creep_X[(Custom value of (Picked unit))] = (X of (Position of (Picked unit)))
Set Creep_Y[(Custom value of (Picked unit))] = (Y of (Position of (Picked unit)))
 

chewett

New Member
Reaction score
0
the point 0 0 makes it more acurate and yes it will work in 99% of the time

good way around the custom code
 

nomadian

Member
Reaction score
9
just curious why store the x and y values seperately and why not use the point variable? Is the point variable plagued with problems or something as I think I'm getting a few problems but don't know.
 

Tinki3

Special Member
Reaction score
418
>why store the x and y values seperately and why not use the point variable?

I could ask you the same type of Q: why use a point variable?

Points use X and Ys to return a location.
So there's no difference between them.
Even though using an arrayed point variable might've been "easier", I chose not to.

Why?
Well, because I can I suppose.
It should also be a little faster.
Everyone has different ways of doing things - some people question those ways :p
 

MagusKeith

New Member
Reaction score
0
problem

set udg_Creep_X[udg_Integer] = GetUnitX(GetEnumUnit())

Says Expected a Name...
what shall i do? what did i do wrong?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Friday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday Night!
    +1
  • The Helper The Helper:
    Going out of a town for the weekend will be back sunday night! Hope everyone has a great weekend!
    +2
  • The Helper The Helper:
    Happy Monday!
  • Ghan Ghan:
    Monday? Speak for yourself. :p
    +2
  • The Helper The Helper:
    Happy Taco Tuesday!
    +1
  • The Helper The Helper:
    Tacos! :)
  • The Helper The Helper:
    Check out the discord for taco pictures :) You cannot put pictures in this chat
    +1
  • The Helper The Helper:
    Damn here come the bots again - 193 online but they are totally invisible to any stats - bunch of bots!'
  • C cubanismo:
    Re: Taco Tuesday, if there were some way to share edible tacos over the internet, technology would be complete.
    +2
  • The Helper The Helper:
    One can only wish!
  • tom_mai78101 tom_mai78101:
    I'm back from Taiwan
    +1
  • The Helper The Helper:
    I am reorganizing the site I know nobody will notice but I am not done quite yet but the main forums order has been changed and there is a new news category in Other News which is all the remaining headline news stuff not categorized - Headline News is just the stuff that shows on the main page now and the news archive is off the main forums page
  • The Helper The Helper:
    and the real archive lives off of headline news
  • The Helper The Helper:
    Happy Monday!

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top