22 lines
555 B
Plaintext
22 lines
555 B
Plaintext
Scriptname _00E_FS_VoicedLetterScript extends ObjectReference
|
|
|
|
Event OnRead()
|
|
|
|
; TODO: Store current track in a quest variable and replace with another track or remove on return to gamemode
|
|
If VoicedLetterMusicType && _00E_DisableReadAloudBooks.GetValueInt() == 0 && SKSE.GetVersion()
|
|
|
|
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
|