# Making Dark Souls Mechanic

**URL:** <https://forums.unrealengine.com/t/making-dark-souls-mechanic/139165>\
**Category:** World Creation\
**Tags:** unreal-engine\
**Created:** [March 2, 2020, 6:01am UTC](https://forums.unrealengine.com/t/making-dark-souls-mechanic/139165 "2020-03-02T06:01:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zatusss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zatusss](https://forums.unrealengine.com/u/Zatusss)\
**Post date:** [March 2, 2020, 6:01am UTC](https://forums.unrealengine.com/t/making-dark-souls-mechanic/139165/1 "2020-03-02T06:01:34Z")

</div>

Hi guys

I am trying to make Darks Souls mechanic that drops the current amount of player souls (points) after the death of course after respawn player will be able to pick up souls lost on a previous run. Can anyone come up with rough draft of this mechanic in BP or can u at least direct me towards Unreal doc pages I have to read in order to develop this gameplay mechanic?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [March 3, 2020, 11:42am UTC](https://forums.unrealengine.com/t/making-dark-souls-mechanic/139165/2 "2020-03-03T11:42:34Z")

</div>

> [@Zatusss](#):
>
> Hi guys
> 
> I am trying to make Darks Souls mechanic that drops the current amount of player souls (points) after the death of course after respawn player will be able to pick up souls lost on a previous run. Can anyone come up with rough draft of this mechanic in BP or can u at least direct me towards Unreal doc pages I have to read in order to develop this gameplay mechanic?

It sounds like the number of souls is just an integer. If you want the newly spawned player to remember how many souls had been ‘found’, you need to put the integer in the save game.

When the new player spawns, it reads the previous number from the save game and carries on:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/6/2565d63070f1f1cbb9fe7f1ff872cce4af952f13.jpeg "HTF do I? Use the SaveGame Object in Unreal Engine 4") ](https://www.youtube.com/watch?v=_4usRrTiqak)

---

<div class="post-metadata">

**Author:** ![Zatusss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zatusss](https://forums.unrealengine.com/u/Zatusss)\
**Post date:** [March 8, 2020, 12:59am UTC](https://forums.unrealengine.com/t/making-dark-souls-mechanic/139165/3 "2020-03-08T00:59:50Z")

</div>

[quote=“ClockworkOcean, post:2, topic:139165”]

It sounds like the number of souls is just an integer. If you want the newly spawned player to remember how many souls had been ‘found’, you need to put the integer in the save game.

When the new player spawns, it reads the previous number from the save game and carries on:  
[https://youtube.com/watch?v=\_4usRrTiqak[/QUOTE]](https://youtube.com/watch?v=_4usRrTiqak%5B/QUOTE%5D)

Legend thank you so much
