Is possible a recharge a mission when player death?
by CIMO · in General Discussion · 02/10/2006 (3:32 am) · 4 replies
I would recharge a mission when my player death....Now when player death press a bottom and return on spawn..But i would recharge a mission..Is possible? If yes..as?...Thanks
#2
I haven't tried it. But it was the first thing that popped into my head.
02/10/2006 (3:18 pm)
In server/scripts/game.cs, find the onDeath() and place your spawnPlayer() according to how you want it to work.I haven't tried it. But it was the first thing that popped into my head.
#3
02/17/2006 (4:44 am)
I test to recharge but i I do not succeed to us.....Someone that is successful?
#4
02/17/2006 (2:09 pm)
Yes it does work. You restart the server upon death of the player via onDeath, just like you restart the server when enough time has passed. All examples are in game.cs.
Torque Owner Vashner
I think the answer to your question is already around you might also try to search for it.
Edit: Also did you buy the TGE SDK? That will give you access to the private forums with a lot of info on basics.