2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_FS_VoicedLetterScript extends ObjectReference
|
|
|
|
|
|
|
|
Event OnRead()
|
|
|
|
|
2024-02-08 14:13:44 +00:00
|
|
|
; 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()
|
2024-01-05 16:58:41 +00:00
|
|
|
|
|
|
|
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
|