Compare commits

...

4 Commits

13 changed files with 18 additions and 11 deletions

BIN
Return pillar.esp Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

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

View File

@ -0,0 +1,9 @@
Scriptname _00E_MeditationReturn extends ObjectReference
event OnActivate(ObjectReference akActionRef)
if akActionRef == Game.GetForm(0x14)
_00E_Class_OpenClassMenuSpell.Cast(akActionRef, akActionRef)
endif
endevent
SPELL Property _00E_Class_OpenClassMenuSpell Auto

View File

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

View File

@ -955,8 +955,8 @@ int Function Step01() ; place your bet
GlobalBet = OpponentBet + PlayerBet GlobalBet = OpponentBet + PlayerBet
_00E_FS_NQ02_PC_BetMessage.Show(PlayerBet, OpponentBet, GlobalBet) _00E_FS_NQ02_PC_BetMessage.Show(PlayerBet, OpponentBet, GlobalBet)
EnemyPurse.EnableNoWait(true) EnemyPurse.EnableNoWait(true)
RegisterForKey(14) ; not doing anything? ;RegisterForKey(14) ; not doing anything
RegisterForKey(271) ;RegisterForKey(271)
Step02() Step02()
Return PlayerBet Return PlayerBet
EndFunction EndFunction

View File

@ -7,7 +7,7 @@ Scriptname _00E_HorseFlute_SC extends ReferenceAlias
; this event registers for the key as soon as the player receives the horseflute in any way ; this event registers for the key as soon as the player receives the horseflute in any way
; due to being a questobject, it can't be dropped or lost by the player, it also stays in the menu when marked as a favorite ; due to being a questobject, it can't be dropped or lost by the player, it also stays in the menu when marked as a favorite
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
If akNewContainer == PlayerREF If (akNewContainer == PlayerREF) && SKSE.GetVersion()
RegisterForKey(iMountHotkey) RegisterForKey(iMountHotkey)
EndIf EndIf
EndEvent EndEvent

View File

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