enderalse/source/scripts/_00e_z_conversations_tealorandjoreksc.psc

26 lines
785 B
Plaintext

Scriptname _00E_Z_Conversations_TealorAndJorekSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
If MQ07.GetCurrentStageID() == 5 && !bFirstScenePlayed
bFirstScenePlayed = True
Z_Conversations_TealorAndJorrek_01.SetCurrentStageID(5)
ElseIf MQ10b.GetCurrentStageID() >= 70 && !bSecondScenePlayed && (MQ12b.GetCurrentStageID() < 5)
bSecondScenePlayed = True
Z_Conversations_TealorAndJorrek_02.SetCurrentStageID(5)
Self.Disable()
EndIf
EndIf
EndEvent
bool bFirstScenePlayed
bool bSecondScenePlayed
Quest Property MQ07 Auto ; 5
Quest Property MQ10b Auto ;55
Quest Property MQ12b Auto ;55
Quest Property Z_Conversations_TealorAndJorrek_01 Auto
Quest Property Z_Conversations_TealorAndJorrek_02 Auto