[hlcoders] Getting a CBaseAnimatedEntity to animate

2009-09-11 Thread Michael Chang
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()?

Re: [hlcoders] Getting a CBaseAnimatedEntity to animate

2009-09-11 Thread steven belmans
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

Re: [hlcoders] Getting a CBaseAnimatedEntity to animate

2009-09-11 Thread Jorge Rodriguez
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