View Single Post
Re: Bots are moving in slow motion. Whats up? Please help me!!!
Old
  (#10)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Bots are moving in slow motion. Whats up? Please help me!!! - 12-11-2006

Code:
   i_msecval = (int) (gpGlobals->frametime * 1000); 
   if (i_msecval < 1)
      i_msecval = 1; // don't allow the msec delay to be null
   else if (i_msecval > 100)
      i_msecval = 100; // don't allow it to last longer than 100 milliseconds either

   g_engfuncs.pfnRunPlayerMove (pEdict, vecMoveAngles, pBot->f_move_speed, pBot->f_sidemove_speed, 0, pEdict->v.button, 0, (unsigned char) i_msecval);
It's PMB method.
  
Reply With Quote