Raised This Month: $ Target: $400
 0% 

replace player animnation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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