Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Delayed Respawn

Page: 1 of 1
 VSYoda1
01-05-2004, 6:26 PM
#1
I'm getting into coding a little and I hope someone could answer my question:

How do you keep a person from respawning for a set amount of time? My guess would be that you have to change the delay variable in the respawn function. :)
 divoid
01-06-2004, 8:35 AM
#2
g_combat.c

find the instances where "client->respawnTime" is set. like on approx line 2726 where it says "self->client->respawnTime = level.time + 1700;" 1700 is your delay in ms, 1.7 seconds. there are a few differant places where respawnTime is set for differant conditions, just search for them, fairly simple
 VSYoda1
01-06-2004, 7:42 PM
#3
Thank you very much. :D
Page: 1 of 1