enderalse/scripts/source/_00e_playidlewithtargetscript.psc

24 lines
723 B
Plaintext

Scriptname _00E_PlayIdleWithTargetScript extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
Debug.SendAnimationEvent(YuslanTestREF, "IdleForceDefaultState")
Debug.SendAnimationEvent(TealorTestREF, "IdleForceDefaultState")
YuslanTestREF.Enable()
YuslanTestREF.RegenerateHead()
YuslanTestREF.SetGhost(False)
YuslanTestREF.GetActorBase().SetEssential(False)
Utility.Wait(1)
If akActionRef == Game.GetPlayer()
If TealorTestREF.PlayIdleWithTarget(pa_2HMKillMoveDecapSlash, YuslanTestREF)
Debug.Messagebox("Nice")
Else
Debug.Messagebox("Meh")
EndIf
EndIf
EndEvent
Idle Property pa_2HMKillMoveDecapSlash Auto
Actor Property YuslanTestREF Auto
Actor Property TealorTestREF Auto