Given this code:
Scriptname ADVSMEntryTriggerScript extends ObjectReferenceImport DebugImport UtilityQuest Property ADVSMQuest AutoObjectReference Property ADSMEntryMarker AutoEvent OnTriggerEnter( ObjectReference akActionRef ) ADVSMQuestScript Mover = ADVSMQuest as ADVSMQuestScript if ( akActionRef == Game.GetPlayer() ) akActionRef.MoveTo( ADSMEntryMarker ) Mover.MoveFollowers( Mover.DirectionIn ) Bool bSOT = GetINIBool( "bSaveOnTravel:MAIN" ) Notification("bSOT = "+bSOT) if ( bSOT ) Game.RequestAutoSave() EndIf EndIfEndEvent
bSaveOnTravel is in the [MAIN] section of SkyrimPrefs.ini, and regardless of whether it's set to 1 or 0, GetINIBool always returns 0, so obviously, we'll never RequestAutoSave(). I've tried this with GetINIInt() as well, with the same result.
I've scoured the web for information about this problem, and come up empty-handed. All I find is complaints that the GetINI* methods don't work. Perhaps someone from the SKSE team could chime in here?
Thanks in advance!
-HB