Respawning
Jun 5 2008, 9:29 pm
By: Cheathunta  

Jun 5 2008, 9:29 pm Cheathunta Post #1



How do you make it so that once you kill a unit, it will come back in the same location over and over again?



None.

Jun 5 2008, 9:31 pm The_z0r Post #2



Constantly center a location on the unti and have the location check for that unit. If the unit is gone, then create another one of that unit.

Conditions:
[Player] brings exactly 0 [unit] to [checking location]

Actions:
Create 1 [unit] for [player]
Preserve Trigger.

-----

Conditions:
Always.

Actions:
Center location [location] for [player] on [unit].
Preserve Trigger.



None.

Jun 5 2008, 9:40 pm Cheathunta Post #3



I cant center location, i can only center view. Plus i want it so everytime a unit DIES it creates another one



None.

Jun 5 2008, 9:41 pm The_z0r Post #4



Why can't you center location? Some editors call it "Move Location" also, so look again, and, that does work for each time a unit dies.



None.

Jun 5 2008, 9:41 pm stickynote Post #5



The action actually says 'move location' on the list, but when you click on it, the action text says 'center location'. Another thing to note is that, when you try to center a location on a unit, and it's not there, it moves the location to the center of the map.

EDIT: Just a little faster than me... You want to create the unit it the desired location as well.



None.

Jun 5 2008, 9:50 pm New-Guy Post #6



Move the location to the unit, and every time there isn't that unit in the location, spawn him again.

Basically, what they said.



None.

Jun 5 2008, 10:59 pm pneumatic Post #7



You could also do this:

C:
Player X suffers at least 1 death of Marine (for example).
A:
Create 1 Marine at 'Respawn' for Player X.
Set Deaths: Set to 0 of Marine for Player X.
Preserve trigger.

That's for if you only want one Marine at a time on the map.
If you want more than one, just change the set deaths action:

C:
Player X suffers at least 1 death of Marine.
A:
Create 1 Marine at 'Respawn' for Player X.
Set Deaths: Subtract 1 of Marine for Player X.
Preserve trigger.

Note this will not work if you kill the Unit with triggers. Otherwise, it's a really simple reliable method.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
Please log in to shout.


Members Online: O)FaRTy1billion[MM]