4
Fork 0
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.
 
 
 

21 lines
551 B

Scriptname _00E_DiggersHollowSkywalkerActivatorSC extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
If akActionRef == PlayerREF
_00E_DiggersHollowSkywalkerMessage.Show()
If !bUnlockedAchievement && _00E_AchievementsEnabled.GetValueInt() == 1
Steam.UnlockAchievement("END_LUKE_SKYWALKER_01")
bUnlockedAchievement = true
EndIf
EndIf
EndEvent
bool bUnlockedAchievement
Actor Property PlayerREF Auto
GlobalVariable Property _00E_AchievementsEnabled Auto
Message Property _00E_DiggersHollowSkywalkerMessage Auto