enderalse/source/scripts/_00e_z_conversations_tealorandjoreksc.psc

26 lines
785 B
Plaintext
Raw Normal View History

Scriptname _00E_Z_Conversations_TealorAndJorekSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
2024-01-10 14:08:24 +00:00
If MQ07.GetCurrentStageID() == 5 && !bFirstScenePlayed
bFirstScenePlayed = True
2024-01-10 14:08:24 +00:00
Z_Conversations_TealorAndJorrek_01.SetCurrentStageID(5)
ElseIf MQ10b.GetCurrentStageID() >= 70 && !bSecondScenePlayed && (MQ12b.GetCurrentStageID() < 5)
bSecondScenePlayed = True
2024-01-10 14:08:24 +00:00
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