Removed Levelsystem from voiced letters
This commit is contained in:
parent
db4242330b
commit
837cb8d3f2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2,12 +2,19 @@ Scriptname _00E_FS_VoicedLetterScript extends ObjectReference
|
||||
|
||||
Event OnRead()
|
||||
|
||||
If _00E_DisableReadAloudBooks.GetValueInt() == 0
|
||||
Levelsystem.StartVoicedLetter(VoicedLetterMusicType)
|
||||
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
|
||||
_00E_Questfunctions Property Levelsystem Auto
|
||||
MusicType Property VoicedLetterMusicType Auto
|
||||
MusicType Property VoicedLetterMusicType Auto
|
||||
|
@ -872,23 +872,6 @@ Function SetNPCAsCompanion(Actor akActor, bool bCompanion = True, int iCompanion
|
||||
|
||||
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
|
||||
|
||||
@ -1366,9 +1349,6 @@ Spell RightHandSpell
|
||||
Spell LeftHandSpell
|
||||
Armor Shield
|
||||
|
||||
;for VoiceLetters
|
||||
MusicType MTToRemove
|
||||
|
||||
;for sets
|
||||
Sound Property MAGIllusionCharm Auto
|
||||
Message Property _00E_ArmorSetScript_sSetBonusRemoved Auto
|
||||
|
Loading…
Reference in New Issue
Block a user