enderalse/source/scripts/_00e_whatwedeserveachievementsc.psc

22 lines
367 B
Plaintext

Scriptname _00E_WhatWeDeserveAchievementSC extends Actor
event OnInit()
; Block loot menus
BlockActivation()
endevent
Event OnActivate(ObjectReference akActionRef)
If akActionRef == Game.GetForm(0x14)
Activate(akActionRef, true)
if ! bDone
Utility.Wait(0.2)
Steam.UnlockAchievement("END_ROCIO_01")
bDone = true
endif
EndIf
EndEvent
bool bDone