Raised This Month: $ Target: $400
 0% 

replace player animnation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cpt.nemo
Junior Member
Join Date: Jul 2020
Old 08-05-2020 , 15:44   replace player animnation
Reply With Quote #1

Hello, my dear friends!

How to replace running animation player models -> walking animation

Code:
set_entvar(id, var_sequence, 3)
set_entvar(id, var_gaitsequence, 3)
set_entvar(id, var_frame, 1.0)
set_entvar(id, var_animtime, 100.0)
set_entvar(id, var_framerate, 24.0)
I used this in a Client_PreThink function, but the animation was triggered when I jumped
I only want it when I run.

Sorry for google translate... I'm russian boy and i bad speak english

Last edited by cpt.nemo; 08-05-2020 at 15:45.
cpt.nemo is offline
cpt.nemo
Junior Member
Join Date: Jul 2020
Old 08-05-2020 , 15:46   Re: replace player animnation
Reply With Quote #2

run sequence => walk sequence
(replace)
maybe it's clearer this way
sorry
cpt.nemo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode