27.08.2010, 01:25
I have some code where I send the player through their own death animation, after a specified amount of time I set their health to 0 to actually kill them. The problem is that once I set their health to 0, the in-built animation from San Andreas runs it's course which looks ugly and tacky after I've already animated the player to die. Is there anyway to prevent this in-built animation from occuring or a way to make it look not so bad?
At the moment I'm trying to clean it up by saving the players pos/camera pos, teleporting the player away (hiding them) and leaving the camera at the scene of the players death.. this works somewhat but isn't 100% the way I want it.
At the moment I'm trying to clean it up by saving the players pos/camera pos, teleporting the player away (hiding them) and leaving the camera at the scene of the players death.. this works somewhat but isn't 100% the way I want it.