Enderal SE
https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
608 B
22 lines
608 B
Scriptname _00E_ArmorSetListener extends Quest Hidden
|
|
|
|
Function OnArmorSetBonusAdded(Bool bFullSet)
|
|
Sound.SetInstanceVolume(MAGIllusionCharm.Play(PlayerREF), 0.4) ; Play MAGIllusionCharm at lower volume
|
|
|
|
If bFullSet && ! bSetAchievementUnlocked
|
|
Steam.UnlockAchievement("END_SET_01")
|
|
bSetAchievementUnlocked = True
|
|
EndIf
|
|
EndFunction
|
|
|
|
Function OnArmorSetBonusRemoved()
|
|
_00E_ArmorSetScript_sSetBonusRemoved.Show()
|
|
EndFunction
|
|
|
|
bool bSetAchievementUnlocked = false
|
|
|
|
Sound Property MAGIllusionCharm Auto
|
|
|
|
Actor Property PlayerRef Auto
|
|
|
|
Message Property _00E_ArmorSetScript_sSetBonusRemoved Auto
|
|
|