How to set animation for player
I have this code. But when i set this, the anim play for 1.0 second then reset to idle anim... How to set long anim for player ?
PHP Code:
|
Re: How to set animation for player
A player's animation is constantly played through CBasePlayer::SetAnimation() (idle, walk, etc.). If your purpose is to overwrite original animation, you would need to hook this function.
|
Re: How to set animation for player
how can i do it ?
|
Re: How to set animation for player
Like said, hook the function, with Orpheu or Rage, and change on the fly the sequence, but you should explain what you want to do exactly, what sequence you're talking about, for what, etc etc.
|
Re: How to set animation for player
Which sequence is?
|
Re: How to set animation for player
|
Re: How to set animation for player
well. i make a zombie class for my zombie mod, when do skill -> play player skill anim for 1 ~ 5 second(s)
The Sequence(s) is 151 of 152... @hornet: - i don't see? |
Re: How to set animation for player
Quote:
|
Re: How to set animation for player
My other zombie class can play an anim over 110, but just 1 second(s) that's enough. but this new class need 5 ~ 10 second(s) :-??
|
Re: How to set animation for player
Quote:
|
| All times are GMT -4. The time now is 15:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.