Aller au contenu

Photo

Need help With Player Spawn Script


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Colton

Colton
  • Members
  • 58 messages
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

#2
andysks

andysks
  • Members
  • 1 650 messages
You mean something like: You die, but you always respawn to the graveyard or like in Planescape: Torment in the mortuary?

#3
Colton

Colton
  • Members
  • 58 messages
Yes, exactly

#4
Colton

Colton
  • Members
  • 58 messages
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

Modifié par Cotlon Stuehrk, 04 janvier 2014 - 03:34 .


#5
Corvittin

Corvittin
  • Members
  • 23 messages
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 =)

Modifié par Corvittin, 04 janvier 2014 - 04:02 .


#6
Colton

Colton
  • Members
  • 58 messages
Thank you very much Corvittin