Author Topic: Respawn(ID: Byte);  (Read 1183 times)

0 Members and 2 Guests are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Respawn(ID: Byte);
« on: May 01, 2007, 04:08:40 pm »
Is it possible to create a respawn thingy so it would respawn a person?

I remember reading somewhere else that we could use the DoDamage command to respawn somebody.
How in the world would it respawn somebody?
-I tried a negative amount of damage while a person was alive... obviously healed you.
-I tried a negative amount of damage while a person was dead... no effect
-I tried a positive amount of damage while a person was alive... obviously hurts/kills you... In survival mode (what I'm dealing with), it wouldn't respawn you if you do the amount of damage needed to kill somebody.
-I tried a positive amount of damage while a person was dead... no effect

So how would I go about forcing a player to respawn?
I really just can't believe this wasn't added in the most recent version. That angers me much... Grrrr!! lol

nvm, i realized ic an do /setteam0 # command
« Last Edit: May 01, 2007, 05:37:55 pm by DorkeyDear »

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Respawn(ID: Byte);
« Reply #1 on: May 02, 2007, 05:20:38 am »
begin
  Command('/respawntime 0');
  DoDamage(ID,4000);
  Command('/respawntime 3');
end;

that works at least for alive players without the "Major joined team" message
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Respawn(ID: Byte);
« Reply #2 on: May 05, 2007, 09:09:51 pm »
forgot to mention... survival mode

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Respawn(ID: Byte);
« Reply #3 on: May 05, 2007, 10:42:05 pm »
Not in survival mode, you can't.