Results 1 to 2 of 2

Thread: Renewing everything in a Scripting Zone to it's default position

  1. #1

    Renewing everything in a Scripting Zone to it's default position

    If someone blunders their character and leaves, I would like a quick way to reset their character to the defaults without having to reset the whole game.

    I'm not sure how to even start this, or how best to do it etc. I have ten hidden zones each with a character sheet inside. Is it possible to use the hidden areas as scripting zones instead of creating new layers of scripting zones over the top?

  2. #2
    Join Date
    Jul 2015
    Posts
    159
    What if you store each object's starting positions and rotations in onload() in a global variable or throw it into a new variable inside the Object?

    You can use the onPlayerChangedColor() to tell when a player leaves by calling getSeatedPlayers(). You'd probably want to store a list of seated players so you can see which one left.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •