enderalse/source/scripts/_00e_mqp01_startsc.psc

48 lines
1.3 KiB
Plaintext
Raw Normal View History

Scriptname _00E_MQP01_StartSC extends ObjectReference
Event OnTriggerEnter (ObjectReference akActionREF)
2024-01-11 20:24:54 +00:00
if akActionRef == PlayerREF && !bDone
bDone = true
Disable()
If ! MQP01.IsCompleted() && MQ10a.GetCurrentStageID() != 5 && !MQ10a.IsRunning() && !MQ12c.IsRunning()
if _00E_QuickStartPrompt.Show() > 0
MQP01.CompleteAllObjectives()
MQP01.CompleteQuest()
MQP02.CompleteAllObjectives()
MQP02.CompleteQuest()
Utility.wait(0.5)
If _00E_VideoSkip.GetValueInt() == 0
Game.PlayBink("MQP03NearDeathExperience.bik", true)
EndIf
PlayerREF.MoveTo(_00E_ClassMenuOrigin)
Debug.SendAnimationEvent(PlayerRef, "IdleForceDefaultState")
Game.ShowRaceMenu()
2024-02-08 06:45:07 +00:00
bool bDisableFighting = (SKSE.GetVersion() > 0)
Game.DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
MQP03.SetCurrentStageID(15)
(MQP02 as _00E_MQP02_Functions).AddRacialAbilites()
else
MQP01.SetCurrentStageID(10)
endif
EndIf
EndIf
EndEvent
bool bDone
Quest Property MQP01 Auto
2024-01-11 20:24:54 +00:00
Quest Property MQP02 Auto
Quest Property MQP03 Auto
Quest Property MQ12c Auto
Quest Property MQ10a Auto
2024-01-11 20:24:54 +00:00
Actor Property PlayerREF Auto
2024-01-11 20:24:54 +00:00
Message Property _00E_QuickStartPrompt Auto
2024-01-11 20:24:54 +00:00
ObjectReference Property _00E_ClassMenuOrigin Auto
GlobalVariable Property _00E_VideoSkip Auto