Jump to content


Photo

Recycle time for grenades


1 reply to this topic

#1 LarkinVB

LarkinVB

    title available

  • Members
  • 1,488 posts

Posted 27 August 2005 - 01:19 PM

Due to a typo in my code the forced delay between usage of grenades (to prevent the multiple grenade bug) isn't 10 but 80 secs. Whats the *real* recycle time of grenades ? Guess its less than 80, right ?

To fix this check this line (373) in infantrytactics.ai

if now > InfantryTactic.TargetAbilities[i][4] + 10 * 8 and

and remove the * 8 so it looks like that

if now > InfantryTactic.TargetAbilities[i][4] + 10 and

No big problem.

#2 oozish

oozish
  • Members
  • 231 posts

Posted 27 August 2005 - 02:25 PM

got it fixed! :sad:



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users