Compare commits
2 Commits
eab2a64dbd
...
50ba0fe8a9
Author | SHA1 | Date | |
---|---|---|---|
50ba0fe8a9 | |||
c9b341f304 |
Binary file not shown.
BIN
Skyrim.esm
BIN
Skyrim.esm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -7,10 +7,10 @@ Function LockVanityCamera() Global
|
||||||
|
|
||||||
if SKSE.GetVersion()
|
if SKSE.GetVersion()
|
||||||
float fCameraMaxDistance = Utility.GetIniFloat("fVanityModeMaxDist:Camera")
|
float fCameraMaxDistance = Utility.GetIniFloat("fVanityModeMaxDist:Camera")
|
||||||
PlayerREF.SetActorValue("Variable08", fCameraMaxDistance)
|
PlayerREF.SetActorValue("Variable04", fCameraMaxDistance)
|
||||||
fMinDist = Utility.GetIniFloat("fVanityModeMinDist:Camera")
|
fMinDist = Utility.GetIniFloat("fVanityModeMinDist:Camera")
|
||||||
else
|
else
|
||||||
PlayerREF.SetActorValue("Variable08", 600.0)
|
PlayerREF.SetActorValue("Variable04", 600.0)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
Utility.SetINIFloat("fVanityModeMaxDist:Camera", fMinDist)
|
Utility.SetINIFloat("fVanityModeMaxDist:Camera", fMinDist)
|
||||||
|
@ -20,13 +20,13 @@ EndFunction
|
||||||
Function UnlockVanityCamera() Global
|
Function UnlockVanityCamera() Global
|
||||||
|
|
||||||
Actor PlayerREF = Game.GetForm(0x14) as Actor
|
Actor PlayerREF = Game.GetForm(0x14) as Actor
|
||||||
float fCameraMaxDistance = PlayerREF.GetActorValue("Variable08")
|
float fCameraMaxDistance = PlayerREF.GetActorValue("Variable04")
|
||||||
|
|
||||||
if fCameraMaxDistance <= 0
|
if fCameraMaxDistance <= 0
|
||||||
fCameraMaxDistance = 600.0
|
fCameraMaxDistance = 600.0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
Utility.SetINIFloat("fVanityModeMaxDist:Camera", fCameraMaxDistance)
|
Utility.SetINIFloat("fVanityModeMaxDist:Camera", fCameraMaxDistance)
|
||||||
PlayerREF.SetActorValue("Variable08", 0)
|
PlayerREF.SetActorValue("Variable04", 0)
|
||||||
|
|
||||||
EndFunction
|
EndFunction
|
||||||
|
|
|
@ -2,8 +2,8 @@ Scriptname _00E_AmbrosiaEffect extends activemagiceffect
|
||||||
|
|
||||||
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||||||
|
|
||||||
float fMagnitude = - akTarget.GetActorValue("Mood")
|
float fMagnitude = - akTarget.GetActorValue("Variable08")
|
||||||
akTarget.SetActorValue("Mood", 0)
|
akTarget.RestoreActorValue("Variable08", fMagnitude)
|
||||||
|
|
||||||
if akTarget != Game.GetForm(0x14)
|
if akTarget != Game.GetForm(0x14)
|
||||||
return
|
return
|
||||||
|
|
|
@ -302,6 +302,9 @@ EndFunction
|
||||||
|
|
||||||
Function StartMemory()
|
Function StartMemory()
|
||||||
|
|
||||||
|
_FS_TheriantrophistControlQuest.TransformBackIfTransformed()
|
||||||
|
_FS_Phasmalist_ControlQuest.UnsummonApparitionIfExists()
|
||||||
|
|
||||||
_00E_EquipControl.SheatheWeapon(PlayerREF)
|
_00E_EquipControl.SheatheWeapon(PlayerREF)
|
||||||
|
|
||||||
OBJEyeofMagnusVanishM.Play(PlayerREF)
|
OBJEyeofMagnusVanishM.Play(PlayerREF)
|
||||||
|
|
|
@ -20,8 +20,12 @@ Event OnActivate(ObjectReference akActionRef)
|
||||||
self.Activate(Game.GetPlayer(), True)
|
self.Activate(Game.GetPlayer(), True)
|
||||||
EndIf
|
EndIf
|
||||||
ElseIf MQ07a.GetCurrentStageID() == 170
|
ElseIf MQ07a.GetCurrentStageID() == 170
|
||||||
Self.BlockActivation(True)
|
; Pre-2.1, apparitions tried enter this door, triggering the message.
|
||||||
_00E_MQ07a_sDoorDoesntBudge.Show()
|
; Added this condition for mod-added companions
|
||||||
|
If akActionRef == Game.GetPlayer()
|
||||||
|
Self.BlockActivation(True)
|
||||||
|
_00E_MQ07a_sDoorDoesntBudge.Show()
|
||||||
|
endif
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndEvent
|
EndEvent
|
||||||
|
|
Loading…
Reference in New Issue
Block a user