21 lines
422 B
Plaintext
21 lines
422 B
Plaintext
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
|