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.
24 lines
431 B
24 lines
431 B
5 months ago
|
Scriptname defaultAutosaveScript extends ObjectReference
|
||
|
|
||
|
import game
|
||
|
import utility
|
||
|
|
||
|
bool property done auto hidden
|
||
|
bool property lazySave auto
|
||
|
|
||
|
EVENT onTriggerEnter(objectReference actronaut)
|
||
|
; ;Debug.Trace("Trigger Hit")
|
||
|
if done == FALSE
|
||
|
while !isInMenuMode()
|
||
|
waitMenuMode(0.5)
|
||
|
endWhile
|
||
|
done = TRUE
|
||
|
; ;Debug.Trace("Autosave Requested")
|
||
|
requestAutoSave()
|
||
|
endif
|
||
|
endEVENT
|
||
|
|
||
|
EVENT onReset()
|
||
|
done = FALSE
|
||
|
endEVENT
|