Compare commits
4 Commits
e94716792a
...
4e83a7bb91
Author | SHA1 | Date | |
---|---|---|---|
4e83a7bb91 | |||
918b387cdd | |||
4b2c781034 | |||
7073fffd70 |
BIN
Return pillar.esp
Normal file
BIN
Return pillar.esp
Normal file
Binary file not shown.
Binary file not shown.
BIN
scripts/_00E_MeditationReturn.pex
Normal file
BIN
scripts/_00E_MeditationReturn.pex
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -23,8 +23,8 @@ function Init()
|
|||
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)
|
||||
Game.DisablePlayerControls(abMovement = false, abFighting = true, abCamSwitch = true, abLooking = false, abSneaking = true, abMenu = true, abActivate = false, abJournalTabs = true, aiDisablePOVType = 0)
|
||||
Game.ForceFirstPerson()
|
||||
|
||||
MQP03.SetCurrentStageID(15)
|
||||
|
||||
|
|
9
source/scripts/_00E_MeditationReturn.psc
Normal file
9
source/scripts/_00E_MeditationReturn.psc
Normal 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
|
|
@ -56,13 +56,13 @@ EndEvent
|
|||
|
||||
Function EnterClassMenu()
|
||||
|
||||
bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR()
|
||||
DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
|
||||
Game.DisablePlayerControls(abMovement = false, abFighting = true, abCamSwitch = true, abLooking = false, abSneaking = true, abMenu = true, abActivate = false, abJournalTabs = true, aiDisablePOVType = 0)
|
||||
|
||||
Player.ForceRefTo(PlayerREF)
|
||||
|
||||
_00E_Meditate_FirstPerson.SetValue(PlayerREF.GetAnimationVariableBool("isFirstPerson") as float)
|
||||
|
||||
_00E_EquipControl.SheatheWeapon(PlayerREF)
|
||||
_00E_EquipControl.SheatheWeapon(PlayerREF, false)
|
||||
|
||||
Form[] equippedTorches = New Form[2]
|
||||
_00E_TorchControl.UnequipTorches(equippedTorches)
|
||||
|
@ -73,7 +73,6 @@ Function EnterClassMenu()
|
|||
Wait(0.7)
|
||||
PlayerREF.MoveTo(_00E_ClassMenuOrigin)
|
||||
Game.ShowFirstPersonGeometry(False)
|
||||
DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
|
||||
ForceFirstPerson()
|
||||
|
||||
EndFunction
|
||||
|
|
|
@ -955,8 +955,8 @@ int Function Step01() ; place your bet
|
|||
GlobalBet = OpponentBet + PlayerBet
|
||||
_00E_FS_NQ02_PC_BetMessage.Show(PlayerBet, OpponentBet, GlobalBet)
|
||||
EnemyPurse.EnableNoWait(true)
|
||||
RegisterForKey(14) ; not doing anything?
|
||||
RegisterForKey(271)
|
||||
;RegisterForKey(14) ; not doing anything
|
||||
;RegisterForKey(271)
|
||||
Step02()
|
||||
Return PlayerBet
|
||||
EndFunction
|
||||
|
|
|
@ -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
|
||||
; 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)
|
||||
If akNewContainer == PlayerREF
|
||||
If (akNewContainer == PlayerREF) && SKSE.GetVersion()
|
||||
RegisterForKey(iMountHotkey)
|
||||
EndIf
|
||||
EndEvent
|
||||
|
|
|
@ -36,8 +36,7 @@ Function MovePlayerToStart()
|
|||
_00E_Func_AIWalk.PlayerAIWalkStop()
|
||||
FadeToBlackHoldIMOD.Apply()
|
||||
ForceFirstPerson()
|
||||
bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR()
|
||||
DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
|
||||
Game.DisablePlayerControls(abMovement = false, abFighting = true, abCamSwitch = true, abLooking = false, abSneaking = true, abMenu = true, abActivate = false, abJournalTabs = true, aiDisablePOVType = 0)
|
||||
PlayerREF.SetAlpha(0.0)
|
||||
PlayerREF.MoveTo(_00E_ClassMenuOrigin)
|
||||
SetCurrentStageID(10)
|
||||
|
|
Loading…
Reference in New Issue
Block a user