Block loot menus in _00E_WhatWeDeserveAchievementSC
This commit is contained in:
parent
317826b960
commit
bad3bd49c3
Binary file not shown.
@ -1,13 +1,21 @@
|
||||
Scriptname _00E_WhatWeDeserveAchievementSC extends Actor
|
||||
|
||||
event OnInit()
|
||||
; Block loot menus
|
||||
BlockActivation()
|
||||
endevent
|
||||
|
||||
Event OnActivate(ObjectReference akActionRef)
|
||||
|
||||
If akActionRef == PlayerREF && !bDone
|
||||
Steam.UnlockAchievement("END_ROCIO_01")
|
||||
bDone = true
|
||||
If akActionRef == Game.GetForm(0x14)
|
||||
Activate(akActionRef, true)
|
||||
if ! bDone
|
||||
Utility.Wait(0.2)
|
||||
Steam.UnlockAchievement("END_ROCIO_01")
|
||||
bDone = true
|
||||
endif
|
||||
EndIf
|
||||
|
||||
EndEvent
|
||||
|
||||
Actor Property PlayerREF Auto
|
||||
bool bDone = false
|
||||
bool bDone
|
||||
|
Loading…
Reference in New Issue
Block a user