enderalse/source/scripts/_00e_z_conversations_tealorandjoreksc.psc

26 lines
740 B
Plaintext
Raw Normal View History

Scriptname _00E_Z_Conversations_TealorAndJorekSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
If MQ07.GetStage() == 5 && !bFirstScenePlayed
bFirstScenePlayed = True
Z_Conversations_TealorAndJorrek_01.SetStage(5)
ElseIf MQ10b.GetStage() >= 70 && !bSecondScenePlayed && (MQ12b.GetStage() < 5)
bSecondScenePlayed = True
Z_Conversations_TealorAndJorrek_02.SetStage(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