Enderal SE
https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
256 B
19 lines
256 B
3 years ago
|
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
|