2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_FS_VoicedLetterScript extends ObjectReference
|
|
|
|
|
|
|
|
Event OnRead()
|
|
|
|
|
2024-01-05 16:58:41 +00:00
|
|
|
If VoicedLetterMusicType && _00E_DisableReadAloudBooks.GetValueInt() == 0
|
|
|
|
|
|
|
|
VoicedLetterMusicType.Add()
|
|
|
|
|
|
|
|
while UI.IsMenuOpen("Book Menu")
|
|
|
|
Utility.WaitMenuMode(0.5)
|
|
|
|
endwhile
|
|
|
|
|
|
|
|
VoicedLetterMusicType.Remove()
|
|
|
|
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
GlobalVariable Property _00E_DisableReadAloudBooks Auto
|
2024-01-05 16:58:41 +00:00
|
|
|
MusicType Property VoicedLetterMusicType Auto
|