Work with the Game Mode class to drain your Character's power over time, giving extra incentive for the player to collect batteries.
Check out the source here, with the project available for download: https://epicgames.box.com/BatteryCollectorSource
(00:05) - Intro & Recap
(00:15) - Creating a Decay Rate Function
(03:38) - Defining the Function
(08:35) - Compiling & Testing