Raised This Month: $ Target: $400
 0% 

Model Animation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-15-2018 , 13:59   Re: Model Animation
Reply With Quote #3

Quote:
Originally Posted by Ghosted View Post
Code:
stock Util_PlayAnimation(index, sequence, Float: framerate = 1.0) 
{ 
    entity_set_float(index, EV_FL_animtime, get_gametime()); 
    entity_set_float(index, EV_FL_framerate,  framerate); 
    entity_set_float(index, EV_FL_frame, 0.0); 
    entity_set_int(index, EV_INT_sequence, sequence); 
}
Code from this post.
I already know that stock but what I'm unsure of is properly making an animation stay forever, as described in the first post.
__________________

Last edited by edon1337; 08-15-2018 at 14:00.
edon1337 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 12:48.


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