4
Fork 0

Removed Levelsystem from voiced letters

remove-levelsystem
Eddoursul 4 months ago
parent db4242330b
commit 837cb8d3f2
  1. BIN
      Enderal - Forgotten Stories.esm
  2. BIN
      scripts/_00e_epupdatefunctions.pex
  3. BIN
      scripts/_00e_fs_voicedletterscript.pex
  4. BIN
      scripts/_00e_questfunctions.pex
  5. 15
      source/scripts/_00e_fs_voicedletterscript.psc
  6. 20
      source/scripts/_00e_questfunctions.psc

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…
Cancel
Save