I created a 3d person template. Inside the ThirdPersonCharacter I added these values:
Stamina: Float
MaxStamina: Float
StaminaDepleted: Boolean
WidgetRef: UserWidgetObjectReference
EventBeginPlay:
Sprint:
Refuel:
And inside the widget:
I created a 3d person template. Inside the ThirdPersonCharacter I added these values:
Stamina: Float
MaxStamina: Float
StaminaDepleted: Boolean
WidgetRef: UserWidgetObjectReference
EventBeginPlay:
Sprint:
Refuel:
And inside the widget: