enderalse/scripts/source/_00e_nq03_potionsc.psc

29 lines
573 B
Plaintext
Raw Normal View History

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