enderalse/source/scripts/_00e_nq_g_06_chestactivationevent.psc

27 lines
502 B
Plaintext
Raw Normal View History

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
Event OnActivate(ObjectReference akActionRef)
if akActionRef == PlayerREF && !bDone && _00E_NQ_G_SidedMael.GetValue() == 1
bDone = true
NQ_G_06.SpawnKileans()
EndIf
EndEvent
bool bDone
Actor Property PlayerREF Auto
_00E_NQ_G_06_Functions Property NQ_G_06 Auto
GlobalVariable Property _00E_NQ_G_SidedMael Auto