Removed Levelsystem from voiced letters

This commit is contained in:
Eddoursul 2024-01-05 17:58:41 +01:00
parent db4242330b
commit 837cb8d3f2
6 changed files with 11 additions and 24 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,12 +2,19 @@ Scriptname _00E_FS_VoicedLetterScript extends ObjectReference
Event OnRead() Event OnRead()
If _00E_DisableReadAloudBooks.GetValueInt() == 0 If VoicedLetterMusicType && _00E_DisableReadAloudBooks.GetValueInt() == 0
Levelsystem.StartVoicedLetter(VoicedLetterMusicType)
VoicedLetterMusicType.Add()
while UI.IsMenuOpen("Book Menu")
Utility.WaitMenuMode(0.5)
endwhile
VoicedLetterMusicType.Remove()
EndIf EndIf
EndEvent EndEvent
GlobalVariable Property _00E_DisableReadAloudBooks Auto GlobalVariable Property _00E_DisableReadAloudBooks Auto
_00E_Questfunctions Property Levelsystem Auto
MusicType Property VoicedLetterMusicType Auto MusicType Property VoicedLetterMusicType Auto

View File

@ -872,23 +872,6 @@ Function SetNPCAsCompanion(Actor akActor, bool bCompanion = True, int iCompanion
EndFunction EndFunction
Function StartVoicedLetter(MusicType MTVoicedLetter)
MTToRemove = MTVoicedLetter
RegisterForMenu("Book Menu")
MTVoicedLetter.Add()
EndFunction
Event OnMenuClose(String MenuName)
If MenuName == "Book Menu"
MTToRemove.Remove()
UnregisterForMenu("Book Menu")
EndIf
EndEvent
; SKILL BOOKS ; SKILL BOOKS
@ -1366,9 +1349,6 @@ Spell RightHandSpell
Spell LeftHandSpell Spell LeftHandSpell
Armor Shield Armor Shield
;for VoiceLetters
MusicType MTToRemove
;for sets ;for sets
Sound Property MAGIllusionCharm Auto Sound Property MAGIllusionCharm Auto
Message Property _00E_ArmorSetScript_sSetBonusRemoved Auto Message Property _00E_ArmorSetScript_sSetBonusRemoved Auto