Allow opening container in _00E_NQ_G_06_ChestActivationEvent

This commit is contained in:
Eddoursul 2024-08-06 15:28:15 +02:00
parent 98f4a89e41
commit 421e4b84ff
2 changed files with 11 additions and 4 deletions

View File

@ -11,11 +11,18 @@ endEvent
Event OnActivate(ObjectReference akActionRef)
if akActionRef == PlayerREF && !bDone && _00E_NQ_G_SidedMael.GetValue() == 1
if akActionRef == Game.GetForm(0x14)
Activate(akActionRef, true)
Utility.Wait(0.1)
if !bDone && _00E_NQ_G_SidedMael.GetValueInt() == 1
bDone = true
NQ_G_06.SpawnKileans()
EndIf
endif
EndEvent
bool bDone