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