enderalse/source/scripts/_00E_MQ101_QuickStart.psc
2024-02-16 15:28:09 +01:00

40 lines
988 B
Plaintext

Scriptname _00E_MQ101_QuickStart extends Quest
function Init()
MQP01.CompleteAllObjectives()
MQP01.CompleteQuest()
MQP01.Stop()
MQP02.CompleteAllObjectives()
MQP02.CompleteQuest()
MQP02.Stop()
Utility.wait(0.5)
If _00E_VideoSkip.GetValueInt() == 0 && EnderalFunctions.VideoSupport()
Game.PlayBink("MQP03NearDeathExperience.bik", true)
EndIf
Actor PlayerREF = Game.GetForm(0x14) as Actor
PlayerREF.MoveTo(_00E_ClassMenuOrigin)
Debug.SendAnimationEvent(PlayerRef, "IdleForceDefaultState")
Game.ShowRaceMenu()
(MQP02 as _00E_MQP02_Functions).AddRacialAbilites()
bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR()
Game.DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
MQP03.SetCurrentStageID(15)
endfunction
Quest Property MQP01 Auto
Quest Property MQP02 Auto
Quest Property MQP03 Auto
GlobalVariable Property _00E_VideoSkip Auto
ObjectReference Property _00E_ClassMenuOrigin Auto