I'd like to create context sensitive death animations in my own game but, I even know where to start. How can I make context sensitive death animations similiar to the game Perfect Dark? The game has enemies will lean over a rail and fall from a high place after being shot to death. You have enemies that will fall on the wall and then slowly slide down after being shot. The reason why I'm using Perfect Dark as an example is because it's an incredibly old game. Now this video example that I found on Youtube probably isn't that good of an example as it's incredibly specific but, these types of animations can pop up in less specific circumstances.