Skip to content

Instantly share code, notes, and snippets.

@darkconsole
Created February 10, 2016 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darkconsole/4c2a47b499f357c7b3d7 to your computer and use it in GitHub Desktop.
Save darkconsole/4c2a47b499f357c7b3d7 to your computer and use it in GitHub Desktop.
; Stop animevent
if IsCreature
; Reset creature idle
Debug.SendAnimationEvent(ActorRef, "Reset")
Debug.SendAnimationEvent(ActorRef, "ReturnToDefault")
Debug.SendAnimationEvent(ActorRef, "FNISDefault")
Debug.SendAnimationEvent(ActorRef, "IdleReturnToDefault")
Debug.SendAnimationEvent(ActorRef, "ForceFurnExit")
if ResetAnim != "IdleForceDefaultState" && ResetAnim != ""
ActorRef.Moveto(ActorRef)
ActorRef.PushActorAway(ActorRef, 0.75)
endIf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment