Hi All,
I've posted a stainmina bar question days ago, and now I have more problem about it...
The effect I want to create is for the player to be able to attack the enemy when the there is energy. As the player attacks the enemies, his energy bar will decrease.
When the energy bar decreases to 0, the attack FSM will be inactivated, so he won't be able to attack. Meanwhile the energy bar will grow back up.
Now the energy bar will only start to grow when the scale is equal to 0. But what I want is for it to grow whenever the player is not attacking.
Does anyone have any idea how I could make it happen?
Thanks,
M