26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
Scriptname _00E_MQ11a_SC24_SanctuariumZombies extends Actor
|
|
|
|
;=====================================================================================
|
|
; EVENTS
|
|
;=====================================================================================
|
|
|
|
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
|
|
|
|
If (akBaseItem == _00E_MQ11a_SC24_SanctuariumKey) && (akDestContainer == PlayerRef) && (bDone == False)
|
|
bDone = true
|
|
_00E_Questshader.Stop(Self)
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
;=====================================================================================
|
|
; PROPERTIES
|
|
;=====================================================================================
|
|
|
|
bool bDone = False
|
|
|
|
Actor Property PlayerRef Auto
|
|
Key Property _00E_MQ11a_SC24_SanctuariumKey Auto
|
|
EffectShader Property _00E_Questshader Auto
|