Meditation disables all menus except System
This commit is contained in:
parent
4b2c781034
commit
918b387cdd
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -23,8 +23,8 @@ function Init()
|
|||||||
Game.ShowRaceMenu()
|
Game.ShowRaceMenu()
|
||||||
(MQP02 as _00E_MQP02_Functions).AddRacialAbilites()
|
(MQP02 as _00E_MQP02_Functions).AddRacialAbilites()
|
||||||
|
|
||||||
bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR()
|
Game.DisablePlayerControls(abMovement = false, abFighting = true, abCamSwitch = true, abLooking = false, abSneaking = true, abMenu = true, abActivate = false, abJournalTabs = true, aiDisablePOVType = 0)
|
||||||
Game.DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
|
Game.ForceFirstPerson()
|
||||||
|
|
||||||
MQP03.SetCurrentStageID(15)
|
MQP03.SetCurrentStageID(15)
|
||||||
|
|
||||||
|
@ -56,13 +56,13 @@ EndEvent
|
|||||||
|
|
||||||
Function EnterClassMenu()
|
Function EnterClassMenu()
|
||||||
|
|
||||||
bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR()
|
Game.DisablePlayerControls(abMovement = false, abFighting = true, abCamSwitch = true, abLooking = false, abSneaking = true, abMenu = true, abActivate = false, abJournalTabs = true, aiDisablePOVType = 0)
|
||||||
DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
|
|
||||||
Player.ForceRefTo(PlayerREF)
|
Player.ForceRefTo(PlayerREF)
|
||||||
|
|
||||||
_00E_Meditate_FirstPerson.SetValue(PlayerREF.GetAnimationVariableBool("isFirstPerson") as float)
|
_00E_Meditate_FirstPerson.SetValue(PlayerREF.GetAnimationVariableBool("isFirstPerson") as float)
|
||||||
|
|
||||||
_00E_EquipControl.SheatheWeapon(PlayerREF)
|
_00E_EquipControl.SheatheWeapon(PlayerREF, false)
|
||||||
|
|
||||||
Form[] equippedTorches = New Form[2]
|
Form[] equippedTorches = New Form[2]
|
||||||
_00E_TorchControl.UnequipTorches(equippedTorches)
|
_00E_TorchControl.UnequipTorches(equippedTorches)
|
||||||
@ -73,7 +73,6 @@ Function EnterClassMenu()
|
|||||||
Wait(0.7)
|
Wait(0.7)
|
||||||
PlayerREF.MoveTo(_00E_ClassMenuOrigin)
|
PlayerREF.MoveTo(_00E_ClassMenuOrigin)
|
||||||
Game.ShowFirstPersonGeometry(False)
|
Game.ShowFirstPersonGeometry(False)
|
||||||
DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
|
|
||||||
ForceFirstPerson()
|
ForceFirstPerson()
|
||||||
|
|
||||||
EndFunction
|
EndFunction
|
||||||
|
@ -36,8 +36,7 @@ Function MovePlayerToStart()
|
|||||||
_00E_Func_AIWalk.PlayerAIWalkStop()
|
_00E_Func_AIWalk.PlayerAIWalkStop()
|
||||||
FadeToBlackHoldIMOD.Apply()
|
FadeToBlackHoldIMOD.Apply()
|
||||||
ForceFirstPerson()
|
ForceFirstPerson()
|
||||||
bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR()
|
Game.DisablePlayerControls(abMovement = false, abFighting = true, abCamSwitch = true, abLooking = false, abSneaking = true, abMenu = true, abActivate = false, abJournalTabs = true, aiDisablePOVType = 0)
|
||||||
DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
|
|
||||||
PlayerREF.SetAlpha(0.0)
|
PlayerREF.SetAlpha(0.0)
|
||||||
PlayerREF.MoveTo(_00E_ClassMenuOrigin)
|
PlayerREF.MoveTo(_00E_ClassMenuOrigin)
|
||||||
SetCurrentStageID(10)
|
SetCurrentStageID(10)
|
||||||
|
Loading…
Reference in New Issue
Block a user