Hi all, been a while since I asked a question here.
I have a simple animated entity with the model all set up and ready to go,
with animations.
Question 1:
Do I have to do StudioFrameAdvance() in order to animate it?
Question 2:
Do I need to set a sequence before calling StudioFrameAdvance()?
Put this block in your Spawn() fuction
int iSequence;//this is to store your Sequence number
iSequence = LookupSequence(your Sequence name);//store
ResetSequence( iSequence );//this sets the animation
m_flAnimTime = gpGlobals-curtime;
SetCycle( 0 );
next make a think() fuction and put
Why aren't you using CBaseAnimating? It does all that stuff for you.
--
Jorge Vino Rodriguez
___
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
3 matches
Mail list logo