enderalse/source/scripts/_00e_nq03_potionsc.psc

29 lines
609 B
Plaintext

Scriptname _00E_NQ03_PotionSC extends ObjectReference
Event OnInit()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
If NQ03.GetCurrentStageID() == 10
NQ03.SpawnAurathief()
ElseIf (NQ03.GetCurrentStageID() == 15) || (NQ03.GetCurrentStageID() == 20)
NQ03.ShowMessageBox()
EndIf
EndIf
EndEvent
Event OnEquipped(Actor akActor)
If akActor == Game.GetPlayer() && NQ03.GetCurrentStageID() == 20
NQ03.ShowMessageBox()
EndIf
EndEvent
_00E_NQ03_Functions Property NQ03 Auto