Fake Death - Setting animation
Hi,
im trying to fake a death of a player... It's knida working now but sometimes the animation is played twice or does not fit correctly (if you see the code you know why :D) Code:
//ham_killed |
Re: Fake Death - Setting animation
//ham_killed
You say it's played twice but it makes sense since your code is in Ham_Killed where the death animation will be done. |
Re: Fake Death - Setting animation
Sorry, haven't posted the whole code
im blocking death with HAM_SUPERCEDE and playing the death animation to fake a death after some time the player can stand up again... But if i just block the death the model still stands there |
Re: Fake Death - Setting animation
Ham_Killed is registered as pre, right ?
|
Re: Fake Death - Setting animation
Yes, sure..
|
Re: Fake Death - Setting animation
Try to play with those 2 offsets :
73 - m_Activity 74 - m_IdealActivity |
Re: Fake Death - Setting animation
Quote:
|
Re: Fake Death - Setting animation
You could make the player invisible, spawn a new ent, set its model to the player's current model, then play the death sequence on it.
|
| All times are GMT -4. The time now is 22:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.