parent
cc4c637b52
commit
d66445da5b
6 changed files with 27 additions and 11 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,22 @@ |
|||||||
|
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 |
Loading…
Reference in new issue