setRechargeRate?

Author Topic: setRechargeRate?  (Read 441 times)

i want to have a 1 second delay before my energy bar starts regenerating but it appears that this function was removed for some reason

any good alternative ways to do this

The only way I can think of this is doing a loop, if it is true of what you want to check, you can make it recharge by setting the energy level.

An alternative way is to simple change the player's datablock, however this could lead onto a large amount of problems which you might not expect, including possibly breaking other add-ons, so I don't recommend it.