You'll want to call the sprite's TurnOn() function, or:

CSprite *CSprite::SpriteCreate( const char *pSpriteName, const Vector
&origin, BOOL animate )


When you call the function above, make sure animate is set to true.
example:
CSprite::SpriteCreate( "sprites/glow01.spr", origin, true );


-Sniper
----- Original Message -----
From: "Admin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 28, 2003 3:39 PM
Subject: [hlcoders] Makeing An Entity Sprite Animate


> I have created an entity (server side) that is a sprite, but I can not
> seem to get it to animate. Does anyone know what magic needs to be done
> to get an entity sprite to animate?
>
> Note: If I create the sprite as a temp entity TE_SPRITE it works fine.
>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to