Respawn Problem
May 30 2009, 8:08 pm
By: death5k  

May 30 2009, 8:08 pm death5k Post #1



Im having a problem with a sniper game. When you die, your supposed to respawn at a location and its always like that so its not like you only respawn 3 times like lives, can anyone help me to teach me how to do that? :omfg:



None.

May 30 2009, 8:13 pm Madroc Post #2



Here's a simple, effective way to do it:
Code
Conditions:
Current player COMMANDS at most 0 [sniper]

Actions:
CREATE 1 sniper for current player at [location of your choosing]
Preserve Trigger

This is assuming each player only has 1 sniper in play at once (excepting if it is dead, in which case you must have 0).
If this is not the case, there is another slightly more difficult way to do it (but still way easy).




None.

May 30 2009, 8:39 pm death5k Post #3



Thanks but i got another problem. The computers have the set alliance status but they still atk you and the units wont stay there.

Edit: The snipers still seem to be mass spawning. The harder way?

Post has been edited 1 time(s), last time on May 30 2009, 8:47 pm by death5k.



None.

May 30 2009, 8:48 pm ForTheSwarm Post #4



Conditions:
Current player suffers at least 1 death of Sniper.

Actions:
CREATE 1 sniper for current player at [location of your choosing]
Set deaths for current player: subtract 1 for Sniper.
Preserve Trigger



None.

May 30 2009, 9:08 pm death5k Post #5



both of those work but it just keeps on spawning. Like some mass game or something. Its supposed to spawn only one.



None.

May 30 2009, 9:33 pm Madroc Post #6



Both my way and the harder way FTS posted should work. Post your respawn trigger, exactly, and we'll see what you're doing wrong.



None.

May 30 2009, 9:41 pm death5k Post #7



Conditions:
Current Player has suffered at least 1 deaths of any unit

Actions:
Create 1 Default Sniper at Respawn for Current Player
Preserve Trigger
Comment: Respawn

Edit: Oh i think he edited and i forget a line.



None.

May 30 2009, 9:49 pm Madroc Post #8



Yup, just add the "subtract 1 death for sniper" and you should be good to go. Actually if you want to do the "at least 1 deaths of any unit" you're going to want to "subtract 1 death for any unit."

Keep in mind that if you're going to do the "at least 1 death of any unit," it will glitch if ANY other unit of that player dies.

As for the set alliance problem, make sure that you have a trigger where the computer is the player selected under "players," and the action is to "set alliance status for Force [actual players] - set to Ally."




None.

May 31 2009, 1:53 am rayNimagi Post #9



You can use buildings or units set off in a corner to keep track of lives.



Win by luck, lose by skill.

May 31 2009, 1:54 am Falkoner Post #10



Quote
You can use buildings or units set off in a corner to keep track of lives.

Buildings/units in a corner? GROSS! Use Death Counts :crazy:



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:30 pm]
Oh_Man -- yeah, probs
[03:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[03:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-27. : 1:14 am]
Symmetry -- https://staredit.net/topic/18932/ check it
[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?
Please log in to shout.


Members Online: lopingadoring