enderalse/source/scripts/_00e_ark_specialbreadsc.psc

14 lines
438 B
Plaintext
Raw Normal View History

Scriptname _00E_Ark_SpecialBreadSC extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
if akTarget == Game.GetPlayer() && _00E_Ark_SpecialBread_Achievement.GetValueInt() == 0 && _00E_AchievementsEnabled.GetValueInt() == 1
Steam.UnlockAchievement("END_BREEEAD_01")
EndIf
EndEvent
GlobalVariable Property _00E_Ark_SpecialBread_Achievement Auto
GlobalVariable Property _00E_AchievementsEnabled Auto