Author Topic: Can't respawn until all players of a team died?  (Read 931 times)

0 Members and 1 Guest are viewing this topic.

Offline DarkSpread

  • Major(1)
  • Posts: 25
Can't respawn until all players of a team died?
« on: May 29, 2011, 01:11:29 pm »
As title, is possible to make a script that doesn't let to respawn until a whole team is dead?
« Last Edit: May 30, 2011, 08:49:00 am by DarkSpread »

Offline VinceBros

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 275
Re: Can't respawn until all players of a team died?
« Reply #1 on: May 29, 2011, 01:12:23 pm »
Just turn on Survival Mode on your server.. A script would be irrelevant since Soldat can already do it.
« Last Edit: May 29, 2011, 09:50:55 pm by VinceBros »

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Can't respawn until all players of a team died?
« Reply #2 on: May 29, 2011, 09:28:45 pm »
Survival mode, as Vince has mentioned, is probably what you want (although for team match (with four teams) isn't exact behavior as you described, "until a whole team is dead" (but rather until all but 1 (or 0) teams are dead)).

Unfortunately, a 'clean' method via scripting to restrict / manage respawning (imo) is not possible. It is, however, possible to set players back and forth from the spectator team to their true team (having it so when you are in the 'dead state', you are in spec, otherwise on the team); in this regard, yes, it is possible.

Offline DarkSpread

  • Major(1)
  • Posts: 25
Re: Can't respawn until all players of a team died?
« Reply #3 on: May 30, 2011, 07:38:12 am »
Ok, thanks. I forgot that there is survival mode. <.<

EDIT

I want to make a script that if bravo team survives then server "does what do i want".
For example: If bravo team survives then variable = 1.

Any help? D:
« Last Edit: May 30, 2011, 08:24:48 am by DarkSpread »