In Oblivion this could be detected by (getanimplaying + getidleplaying) == 0
But Skyrim does to seem to have both this time.
And getknockedstate will not work.
RegisterForAnimationEvent(pPlayer, "RemoveCharacterControllerFromWorld")
RegisterForAnimationEvent(pPlayer, "RemoveCharacterControllerFromWorld")if (akSource == pPlayer) && (asEventName == "RemoveCharacterControllerFromWorld") ;Debug.Notification("Enter Ragdoll") <--- This will not be seen pPlayer.SetGhost(1)endif
RegisterForAnimationEvent(pPlayer, "RemoveCharacterControllerFromWorld")
RegisterForAnimationEvent(pPlayer, "RemoveCharacterControllerFromWorld")if (akSource == pPlayer) && (asEventName == "RemoveCharacterControllerFromWorld") ;Debug.Notification("Enter Ragdoll") <--- This will not be seen pPlayer.SetGhost(1)endif