Store # of lives variable for future game sessions

You use a SaveGame object. And store the variables you want to save there. You then load it on begin play or whenever you want.

Further information can be found here:

and

https://docs.unrealengine.com/latest/INT/Gameplay/SaveGame/Blueprints/index.html