Hey there. So I am trying to get a stamina attribute working, however it's having a couple of issues.
http://prntscr.com/sjt5gb This is how my current speed change ability looks like.
All fine and dandy there. It works completely and when the stamina reaches zero, the character stops running.
However, that's only when the auto update value type of the stamina attribute is set to none.
If you set it to increase (so your stamina can actually regen over time) during playtime, the stamina in fact will not increase. Unless you manually set value > 0 in editor mode during playtime.
But if the auto update value type is set to increase before hand, the stamina counter will often have issues dropping to 0 and even when it is 0, the character won't stop running.
Unfortunately I've tried multiple delays, intervals etc on the auto update value type in the attribute manager, but with no positive results.
http://prntscr.com/sjt5gb This is how my current speed change ability looks like.
All fine and dandy there. It works completely and when the stamina reaches zero, the character stops running.
However, that's only when the auto update value type of the stamina attribute is set to none.
If you set it to increase (so your stamina can actually regen over time) during playtime, the stamina in fact will not increase. Unless you manually set value > 0 in editor mode during playtime.
But if the auto update value type is set to increase before hand, the stamina counter will often have issues dropping to 0 and even when it is 0, the character won't stop running.
Unfortunately I've tried multiple delays, intervals etc on the auto update value type in the attribute manager, but with no positive results.