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.
[11:31 pm]
Vrael -- :wob:
[08:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
Please log in to shout.


Members Online: DiearAnother