Hello, Could somebody help me constuct a player spawn script so that it would force the player to spawn in a single area instead of spawning where the player died?
-Thanks
Need help With Player Spawn Script
Débuté par
Colton
, janv. 04 2014 02:57
#1
Posté 04 janvier 2014 - 02:57
#2
Posté 04 janvier 2014 - 03:04
You mean something like: You die, but you always respawn to the graveyard or like in Planescape: Torment in the mortuary?
#3
Posté 04 janvier 2014 - 03:14
Yes, exactly
#4
Posté 04 janvier 2014 - 03:32
i'm looking for something like that, because our goal is to have it make it fair for other plays such as in pvp and such.
and i have little knowledge of program such things
and i have little knowledge of program such things
Modifié par Cotlon Stuehrk, 04 janvier 2014 - 03:34 .
#5
Posté 04 janvier 2014 - 04:01
you need to modify your modules playerondeath script.
for ex
// get last player dying
// if you have conditions like below 0 hp or spesific area execute them
// based on your conditions send player to spesific spawn point
Edit: lol dont forget to heal or revive =)
for ex
// get last player dying
// if you have conditions like below 0 hp or spesific area execute them
// based on your conditions send player to spesific spawn point
Edit: lol dont forget to heal or revive =)
Modifié par Corvittin, 04 janvier 2014 - 04:02 .
#6
Posté 04 janvier 2014 - 04:18
Thank you very much Corvittin





Retour en haut






