Fixed warnings in defaultDisableHavokOnLoad and _00E_Theriantrophist_Chymikum
This commit is contained in:
parent
82ca8f1a32
commit
e5e81477e6
Binary file not shown.
Binary file not shown.
@ -49,7 +49,9 @@ Event OnEffectFinish(Actor akTarget, Actor akCaster)
|
|||||||
OnChymikumEffectFinish(akTarget)
|
OnChymikumEffectFinish(akTarget)
|
||||||
Endif
|
Endif
|
||||||
|
|
||||||
Self.Dispel()
|
if akTarget.HasMagicEffect(GetBaseObject())
|
||||||
|
Dispel()
|
||||||
|
endif
|
||||||
|
|
||||||
Endevent
|
Endevent
|
||||||
|
|
||||||
|
@ -64,7 +64,9 @@ Function ReleaseToHavok()
|
|||||||
If myLink && (myLink.beenSimmed == False)
|
If myLink && (myLink.beenSimmed == False)
|
||||||
myLink.ReleaseToHavok()
|
myLink.ReleaseToHavok()
|
||||||
EndIf
|
EndIf
|
||||||
|
if Is3DLoaded() ; prevent Papyrus errors on a taken object
|
||||||
SetMotionType(Motion_Dynamic, True)
|
SetMotionType(Motion_Dynamic, True)
|
||||||
Self.ApplyHavokImpulse(0, 0, 1, 5)
|
Self.ApplyHavokImpulse(0, 0, 1, 5)
|
||||||
|
endif
|
||||||
; Debug.Trace("Released Havok.")
|
; Debug.Trace("Released Havok.")
|
||||||
EndFunction
|
EndFunction
|
||||||
|
Loading…
Reference in New Issue
Block a user