Hi,
I get a request last week for transfering the Life and Health Value in the next level in a Game. What for some is pretty useless cause cod shows us that to start with full health is normal, is for some other game dev essential.
So here is a script which saves the value in a text file and restores it on the beginning in the next level:
Things to know:
- place the script in a triggerzone short before you enter the winzone
- manually copy the values.saves file in the folder to the new folder in the standalone
- you can open the values.saves with each texteditor, so you can set the values to each number( Important: the Value must be placed exactly behind "=")
- open the script and set your values in the variables there too
- please let every file where it is, because it could create crashes if you place them elsewhere
Licence:
Do not publish/sell/share it as your script. You can use it in commercial and uncommercial projects.
Thanks for your interest and happy game making.
Corno_1
My dream is to develope games, which makes fun when I create it and fun when other people play it.