Initial commit
Initial commit [v9.7]
This commit is contained in:
20
_module/nss/autosave_myr.nss
Normal file
20
_module/nss/autosave_myr.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
/* Do Once Area Auto-Save
|
||||
Script Designed by Doc Halloween on July 08, 2003
|
||||
with help from Jassper (who made Bioware Forums' Newbe F.A.Q
|
||||
Place in Area Properties then Events then OnEnter */
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
DoSinglePlayerAutoSave();
|
||||
}
|
||||
Reference in New Issue
Block a user