|
|
@ -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 |
|
|
|