2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_NQ_G_06_ChestActivationEvent extends ObjectReference
|
|
|
|
|
2024-08-02 00:25:53 +00:00
|
|
|
event OnInit()
|
|
|
|
; Block loot menus
|
|
|
|
BlockActivation()
|
|
|
|
endevent
|
|
|
|
|
|
|
|
Event OnLoad()
|
|
|
|
BlockActivation()
|
|
|
|
endEvent
|
|
|
|
|
2021-10-05 22:15:58 +00:00
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
2024-08-06 13:28:15 +00:00
|
|
|
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
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
bool bDone
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
_00E_NQ_G_06_Functions Property NQ_G_06 Auto
|
|
|
|
GlobalVariable Property _00E_NQ_G_SidedMael Auto
|