enderalse/source/scripts/_00e_whatwedeserveachievementsc.psc

14 lines
369 B
Plaintext

Scriptname _00E_WhatWeDeserveAchievementSC extends Actor
Event OnActivate(ObjectReference akActionRef)
If akActionRef == PlayerREF && _00E_AchievementsEnabled.GetValueInt() == 1 && !bDone
Steam.UnlockAchievement("END_ROCIO_01")
bDone = true
EndIf
EndEvent
Actor Property PlayerREF Auto
GlobalVariable Property _00E_AchievementsEnabled Auto
bool bDone = false