enderalse/scripts/source/_00e_whatwedeserveachievementsc.psc

14 lines
368 B
Plaintext

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