Raised This Month: $51 Target: $400
 12% 

Force a model's sequence back to frame 1?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AnubisTF2
Senior Member
Join Date: Oct 2015
Old 02-12-2018 , 17:22   Force a model's sequence back to frame 1?
Reply With Quote #1

Is it possible to set the frame of a sequence on a model?
I want to be able to, when calling a function, set the sequence of a particular model back to the start of the animation, so frame 1.
Any ideas? Any and all help is greatly appreciated, thanks a bunch!
AnubisTF2 is offline
sdz
Senior Member
Join Date: Feb 2012
Old 02-13-2018 , 00:36   Re: Force a model's sequence back to frame 1?
Reply With Quote #2

PHP Code:
SetEntProp(entityProp_Send"m_nSequence"69); 
doesn't work?
sdz is offline
AnubisTF2
Senior Member
Join Date: Oct 2015
Old 02-13-2018 , 15:55   Re: Force a model's sequence back to frame 1?
Reply With Quote #3

I forgot to mention, this isnt for a prop. The model is set to a player
AnubisTF2 is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 02-13-2018 , 16:57   Re: Force a model's sequence back to frame 1?
Reply With Quote #4

Same deal. The player class entity should still have a m_nSequence property.
__________________
Neuro Toxin is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 02-13-2018 , 17:07   Re: Force a model's sequence back to frame 1?
Reply With Quote #5

Quote:
Originally Posted by AnubisTF2 View Post
I forgot to mention, this isnt for a prop. The model is set to a player
A prop with a player model or a player with a different player model?

m_flCycle Prop_Send
__________________
Pelipoika is offline
AnubisTF2
Senior Member
Join Date: Oct 2015
Old 02-13-2018 , 20:26   Re: Force a model's sequence back to frame 1?
Reply With Quote #6

I found a work around, thanks for the help guys!
AnubisTF2 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 22:25.


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