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.
@ -15,14 +15,22 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||||
_00E_FS_SpectralChestNotInCombat.Show()
|
||||
|
||||
Else
|
||||
|
||||
if SKSE.GetVersion()
|
||||
fMagnitude = GetMagnitude()
|
||||
endif
|
||||
|
||||
Float newCarryWeight = Self.GetMagnitude() + PlayerREF.GetActorValue("Alteration")
|
||||
Float newCarryWeight = fMagnitude + PlayerREF.GetActorValue("Alteration")
|
||||
|
||||
_00E_FS_SpectralChestActorREF.SetActorValue("CarryWeight", newCarryWeight)
|
||||
|
||||
_00E_FS_SpectralChestActorREF.SetPlayerTeammate(True, True)
|
||||
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()
|
||||
DRScTreasureOpen.Play(PlayerREF)
|
||||
|
||||
@ -34,6 +42,8 @@ EndEvent
|
||||
; PROPERTIES
|
||||
;=====================================================================================
|
||||
|
||||
float Property fMagnitude = 30.0 Auto
|
||||
|
||||
Actor Property PlayerREF Auto
|
||||
Actor Property _00E_FS_SpectralChestActorREF Auto
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user