| Author: | lucindrea |
| Author Website: | n/a |
| Script Name: | PC Saving Tool |
| Description: | This is a skull that a DM's get when logging in to the server. Using the skull will force a save of all characters online to the server vault. |
| Instructions on Use: |
Notes: This is relatively untested and I think it creates backup characters in the server vault (but player only sees most recent save). I also used both the tag and resref as skulcharsave on the item. |
Script 1 (Module OnActivateItem):
| object oActivated =
GetItemActivated(); if(GetTag(oActivated)=="skulcharsave") { ExportAllCharacters(); } |
Script 2 (Module OnClientEnter):
object oPC = GetEnteringObject(); if(GetIsDM(oPC))CreateItemOnObject("skulcharsave", oPC); |