This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
(GoldSrc)
Why is it when I use "SetThink", it doesn't really do anything, it will
randomly call the function. What exactly is it doing? What I'm trying todo is,
set the entitys angles every second.
(Trying to make the UT weapon spining on a entity)
void CCan::CanThink( void )
{
Vector angles;
angles = pev->angles;
angles.y += 25.0 / 10.0;
if(angles.y >= 180.0)
{
angles.y -= 360.0;
}
pev->angles = angles;
ALERT(at_console,"Can Thinking...");
}
And in the spawn function, i set "SetThink( CanThink);" But this function never
calls, should it be located somewere else?
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders