slime181
|
  |
| Joined: 22 Dec 2009 |
| Total Posts: 287 |
|
|
| 05 Feb 2015 03:28 PM |
| This is an odd request, but can someone please make a script where when a person logs off at a certain area they start back at said location when they log back in? If this needs reworded please let me know |
|
|
| Report Abuse |
|
|
slime181
|
  |
| Joined: 22 Dec 2009 |
| Total Posts: 287 |
|
|
| 05 Feb 2015 03:31 PM |
| To explain a bit more, I want the saving system to be sort of like Skyrim and saving your game. Your items and location stays the same from last save. |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 05 Feb 2015 03:38 PM |
Use the .Running event on a player and constantly update the position in a variable, then when the player leaves the game, you save that variable through datastore.
Why this method? Because if you constantly update with data stores you go over the data request limit. |
|
|
| Report Abuse |
|
|
slime181
|
  |
| Joined: 22 Dec 2009 |
| Total Posts: 287 |
|
|
| 05 Feb 2015 04:35 PM |
| Will this save the players inventory? |
|
|
| Report Abuse |
|
|
lokkut
|
  |
| Joined: 18 Mar 2009 |
| Total Posts: 1794 |
|
| |
|
slime181
|
  |
| Joined: 22 Dec 2009 |
| Total Posts: 287 |
|
| |
|