enderalse/source/scripts/_00e_mq11a_sc21_libraryzombies.psc

26 lines
1.0 KiB
Plaintext

Scriptname _00E_MQ11a_SC21_LibraryZombies extends ObjectReference
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
If (akBaseItem == _00E_MQ11a_DalGalarLibraryKey) && (akDestContainer == PlayerRef) && (bDone == False)
bDone = true
_00E_Questshader.Stop(Self)
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
bool bDone = False
Actor Property PlayerRef Auto
Key Property _00E_MQ11a_DalGalarLibraryKey Auto
EffectShader Property _00E_Questshader Auto