1
Fork 0

Prevent player from leaving the first conversation with Jespar

development
Eddoursul 4 months ago
parent 0f7fde96b4
commit b0b4f3195f
  1. BIN
      scripts/_00e_mq02_functions.pex
  2. 9
      source/scripts/_00e_mq02_functions.psc

Binary file not shown.

@ -15,7 +15,7 @@ Function MovePlayerAndJesparToStart()
_00E_MC_JesparREF.Disable() _00E_MC_JesparREF.Disable()
FadeToBlackHoldImod.Apply() FadeToBlackHoldImod.Apply()
ForceFirstPerson() ForceFirstPerson()
DisablePlayerControls(true, true, true, true, true, true, true) DisablePlayerControls(true, true, true, false, true, true, true)
_00E_TimeControl.SkipTimeToHour(5.5) _00E_TimeControl.SkipTimeToHour(5.5)
_00E_MC_JesparREF.Enable() _00E_MC_JesparREF.Enable()
_00E_MC_JesparREF.MoveTo(MQ02_D0_JesparSpawnMarker) _00E_MC_JesparREF.MoveTo(MQ02_D0_JesparSpawnMarker)
@ -32,7 +32,6 @@ Function WakeUpPlayer()
_00E_MQ02_WakeUp.Apply() _00E_MQ02_WakeUp.Apply()
Self.SetCurrentStageID(20) Self.SetCurrentStageID(20)
RequestAutoSave() RequestAutoSave()
EnablePlayerControls()
_00E_SilenceLongTransitionHighPriority.Remove() _00E_SilenceLongTransitionHighPriority.Remove()
_00E_Music_Special_Character_Jespar.Add() _00E_Music_Special_Character_Jespar.Add()
@ -51,15 +50,14 @@ Function FadeOutAndBack()
FadeToBlackAndBackIMOD.Apply() FadeToBlackAndBackIMOD.Apply()
SkyrimClear.SetActive() SkyrimClear.SetActive()
Wait(3.3) Wait(3.3)
_00E_MC_JesparREF.Disable() _00E_MC_JesparREF.DisableNoWait()
_00E_TimeControl.SkipTimeToHour(6.5) _00E_TimeControl.SkipTimeToHour(6.5)
Wait(0.5) Wait(0.5)
; Jespar may snap to player's position after EnableAI, so we ensure he is in the correct position. ; Jespar may snap to player's position after EnableAI, so we ensure he is in the correct position.
; Plus, he acts weird and wants to go somewhere without this. ; Plus, he acts weird and wants to go somewhere without this.
_00E_MC_JesparREF.EnableAI(true) _00E_MC_JesparREF.EnableAI(true)
_00E_MC_JesparREF.Enable() _00E_MC_JesparREF.EnableNoWait()
_00E_MC_JesparREF.MoveTo(MQ02_D0_JesparSpawnMarker) _00E_MC_JesparREF.MoveTo(MQ02_D0_JesparSpawnMarker)
EnablePlayerControls()
SetCurrentStageID(30) SetCurrentStageID(30)
ShowFirstPersonGeometry(true) ShowFirstPersonGeometry(true)
@ -74,6 +72,7 @@ EndFunction
Function ShowQuestDifficultyTutorial() Function ShowQuestDifficultyTutorial()
EnablePlayerControls()
MQ02_CampBanditREF.Enable() MQ02_CampBanditREF.Enable()
If _00E_DisableQuestTutorials.GetValueInt() == 0 If _00E_DisableQuestTutorials.GetValueInt() == 0
_00E_Tutorial_QuestDifficulty.Show() _00E_Tutorial_QuestDifficulty.Show()

Loading…
Cancel
Save