enderalse/source/scripts/_00e_fs_voicedletterscript.psc

21 lines
422 B
Plaintext
Raw Normal View History

Scriptname _00E_FS_VoicedLetterScript extends ObjectReference
Event OnRead()
If VoicedLetterMusicType && _00E_DisableReadAloudBooks.GetValueInt() == 0
VoicedLetterMusicType.Add()
while UI.IsMenuOpen("Book Menu")
Utility.WaitMenuMode(0.5)
endwhile
VoicedLetterMusicType.Remove()
EndIf
EndEvent
GlobalVariable Property _00E_DisableReadAloudBooks Auto
MusicType Property VoicedLetterMusicType Auto