enderalse/scripts/source/_00e_autosavetrigboxscript.psc

19 lines
256 B
Plaintext

Scriptname _00E_AutoSaveTrigBoxScript extends ObjectReference
int DoOnce
Event OnTriggerEnter(ObjectReference akActionRef)
if ( DoOnce == 0 )
if(akActionRef == Game.GetPlayer())
Game.RequestAutoSave()
DoOnce = -1
endif
endif
EndEvent