Spectral chest no SKSE update
This commit is contained in:
parent
106de1e3dc
commit
bb5e04f338
BIN
Spectral chest update.esp
Normal file
BIN
Spectral chest update.esp
Normal file
Binary file not shown.
Binary file not shown.
@ -16,13 +16,21 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
Float newCarryWeight = Self.GetMagnitude() + PlayerREF.GetActorValue("Alteration")
|
if SKSE.GetVersion()
|
||||||
|
fMagnitude = GetMagnitude()
|
||||||
|
endif
|
||||||
|
|
||||||
|
Float newCarryWeight = fMagnitude + PlayerREF.GetActorValue("Alteration")
|
||||||
|
|
||||||
_00E_FS_SpectralChestActorREF.SetActorValue("CarryWeight", newCarryWeight)
|
_00E_FS_SpectralChestActorREF.SetActorValue("CarryWeight", newCarryWeight)
|
||||||
|
|
||||||
_00E_FS_SpectralChestActorREF.SetPlayerTeammate(True, True)
|
_00E_FS_SpectralChestActorREF.SetPlayerTeammate(True, True)
|
||||||
Utility.Wait(0.1)
|
Utility.Wait(0.1)
|
||||||
_00E_FS_SpectralChestCapacity.Show(_00E_FS_SpectralChestActorREF.GetTotalItemWeight(), newCarryWeight)
|
|
||||||
|
if SKSE.GetVersion()
|
||||||
|
_00E_FS_SpectralChestCapacity.Show(_00E_FS_SpectralChestActorREF.GetTotalItemWeight(), newCarryWeight)
|
||||||
|
endif
|
||||||
|
|
||||||
_00E_FS_SpectralChestActorREF.OpenInventory()
|
_00E_FS_SpectralChestActorREF.OpenInventory()
|
||||||
DRScTreasureOpen.Play(PlayerREF)
|
DRScTreasureOpen.Play(PlayerREF)
|
||||||
|
|
||||||
@ -34,6 +42,8 @@ EndEvent
|
|||||||
; PROPERTIES
|
; PROPERTIES
|
||||||
;=====================================================================================
|
;=====================================================================================
|
||||||
|
|
||||||
|
float Property fMagnitude = 30.0 Auto
|
||||||
|
|
||||||
Actor Property PlayerREF Auto
|
Actor Property PlayerREF Auto
|
||||||
Actor Property _00E_FS_SpectralChestActorREF Auto
|
Actor Property _00E_FS_SpectralChestActorREF Auto
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user