enderalse/source/scripts/_00e_nq_g_07dijaam_liesc.psc

27 lines
723 B
Plaintext
Raw Normal View History

Scriptname _00E_NQ_G_07Dijaam_LieSC extends ReferenceAlias
Event OnCellAttach()
if _00E_NQG07_DijaamKnockedOut.GetValueInt() == 1
Self.GetActorReference().SetUnconscious(False)
Debug.SendAnimationEvent(Self.GetActorReference(), "IdleBedRollFrontEnterInstant")
EndIf
EndEvent
Event OnLoad()
if _00E_NQG07_DijaamKnockedOut.GetValueInt() == 1
Self.GetActorReference().Disable()
Utility.Wait(1)
Self.GetActorReference().Enable()
Debug.SendAnimationEvent(Self.GetActorReference(), "idleForceDefaultState")
Debug.SendAnimationEvent(Self.GetActorReference(), "IdleBedRollFrontEnterInstant")
EndIf
EndEvent
Quest Property NQ_G_07Dijaam Auto
GlobalVariable Property _00E_NQG07_DijaamKnockedOut Auto