Armour Problem
#1

I have a custom damage script, which uses OnPlayerTakeDamage and then applies whatever damage I've scripted it to apply. The problem is, if say, a player's armour is 50, and their armour is damaged until it reaches 0, it then resets and their armour is restored to 100. Any idea how to fix this?

EDIT: Never mind. Just set their armour to 0 instead of decreasing it, if their armour is at or below the damage amount.

This can be locked.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)