parent
317826b960
commit
bad3bd49c3
2 changed files with 14 additions and 6 deletions
Binary file not shown.
@ -1,13 +1,21 @@ |
|||||||
Scriptname _00E_WhatWeDeserveAchievementSC extends Actor |
Scriptname _00E_WhatWeDeserveAchievementSC extends Actor |
||||||
|
|
||||||
|
event OnInit() |
||||||
|
; Block loot menus |
||||||
|
BlockActivation() |
||||||
|
endevent |
||||||
|
|
||||||
Event OnActivate(ObjectReference akActionRef) |
Event OnActivate(ObjectReference akActionRef) |
||||||
|
|
||||||
If akActionRef == PlayerREF && !bDone |
If akActionRef == Game.GetForm(0x14) |
||||||
Steam.UnlockAchievement("END_ROCIO_01") |
Activate(akActionRef, true) |
||||||
bDone = true |
if ! bDone |
||||||
|
Utility.Wait(0.2) |
||||||
|
Steam.UnlockAchievement("END_ROCIO_01") |
||||||
|
bDone = true |
||||||
|
endif |
||||||
EndIf |
EndIf |
||||||
|
|
||||||
EndEvent |
EndEvent |
||||||
|
|
||||||
Actor Property PlayerREF Auto |
bool bDone |
||||||
bool bDone = false |
|
||||||
|
Loading…
Reference in new issue