Game Development Community

Health bar fills to slow

by Caleb · in Technical Issues · 03/20/2007 (6:57 am) · 2 replies

Whenever I damage my player, the health is taken immediately, but when I apply repair, the health goes up really slowly. How to I make it fill faster?

Thanks.

#1
03/20/2007 (7:11 am)
Have you searched the scripts for the variable that applies the repair rate yet? Check out example\starter.fps\server\scripts\player.cs. There is a value called repairRate in that script.

Also, try having a look and posting in the TGE public forums. This is where scripting questions should be posted and answered.
#2
03/20/2007 (7:52 am)
Found it, I had added rechargeRate instead of repairRate, It works now.
Thanks Michael!!!