Merged separated armor set listener

This commit is contained in:
Eddoursul 2024-01-05 21:26:56 +01:00
parent d66445da5b
commit 99b8841706
5 changed files with 0 additions and 22 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1071,23 +1071,6 @@ Function SetRecoveryTimeMemoryBook(int iWord, Shout TaughtTalent, float fRecover
EndFunction
; EQUIPPING SETS
Function OnArmorSetBonusAdded(Bool bFullSet)
Sound.SetInstanceVolume(MAGIllusionCharm.Play(PlayerREF), 0.4) ; Play MAGIllusionCharm at lower volume
If bFullSet && bSetAchievementUnlocked == False && _00E_AchievementsEnabled.GetValueInt() == 1
Steam.UnlockAchievement("END_SET_01")
bSetAchievementUnlocked = True
EndIf
EndFunction
Function OnArmorSetBonusRemoved()
_00E_ArmorSetScript_sSetBonusRemoved.Show()
EndFunction
Float fDefaultHeadTrackTimerOldValue = 0.0
Float fStayHeadTrackTimerOldValue = 0.0
@ -1348,8 +1331,3 @@ Weapon LeftHandWeapon
Spell RightHandSpell
Spell LeftHandSpell
Armor Shield
;for sets
Sound Property MAGIllusionCharm Auto
Message Property _00E_ArmorSetScript_sSetBonusRemoved Auto
bool bSetAchievementUnlocked = false