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