enderalse/source/scripts/_00e_nq03_potionsc.psc

29 lines
609 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()
2024-01-10 14:08:24 +00:00
If NQ03.GetCurrentStageID() == 10
NQ03.SpawnAurathief()
2024-01-10 14:08:24 +00:00
ElseIf (NQ03.GetCurrentStageID() == 15) || (NQ03.GetCurrentStageID() == 20)
NQ03.ShowMessageBox()
EndIf
EndIf
EndEvent
Event OnEquipped(Actor akActor)
2024-01-10 14:08:24 +00:00
If akActor == Game.GetPlayer() && NQ03.GetCurrentStageID() == 20
NQ03.ShowMessageBox()
EndIf
EndEvent
_00E_NQ03_Functions Property NQ03 Auto