Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
708 B
19 lines
708 B
3 years ago
|
Scriptname _00E_FS_NQR05_AniStuckFixSC extends ObjectReference
|
||
|
;This script is a failsafe for an animation stuck in the Rhalâta temple. It will prevent the animation stuck on the chair, however the true cause of the bug is still unknown
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
|
||
|
If (FS_NQR05.GetStage() >= 25 && FS_NQR05.GetStage() <= 40) && akActionRef == PlayerREF && PlayerREF.IsWeaponDrawn()
|
||
|
PlayerREF.AddItem(GasTrapDummy, 1, 1)
|
||
|
PlayerREF.EquipItem(GasTrapDummy, 0, 1)
|
||
|
Utility.Wait(1)
|
||
|
PlayerREF.SheatheWeapon()
|
||
|
PlayerREF.RemoveItem(GasTrapDummy, 1, 1)
|
||
|
Self.Disable()
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Actor Property PlayerREF Auto
|
||
|
Quest Property FS_NQR05 Auto
|
||
|
Weapon Property GasTrapDummy Auto
|