Hi. I'd like help with a save/load code. I realise that there are many tutorials on these and many already made ones, but none are what I want. I want one that just stores whether a player has unlocked one thing or not. It shouldn't be that hard to do, but it is giving me a lot of trouble. If you have any systems like this, or tutorials, or just advice on how to do this, please post.
This is all I want.
-I'm making a system where you can get secrets, and they give small bonuses to your hero, but I don't want the hero itself saved.
-Just something that will give you a code that if you say it in the next game will give you that secret again.
Save/Load Help Please.
Moderator: Cheaters
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Save/Load Help Please.
Last edited by owner123 on December 1st, 2010, 3:21 am, edited 1 time in total.
-
- Forum Spammer
- Posts: 610
- Joined: March 30th, 2009, 9:02 pm
Re: Save/Load Help Please.
LOL heyyy xP
anddd it cant be that hardd
how bout when the hero unlocks the secret (by doing w.e that needs to be done)
have an array for that player and the respective secret to change to something to turn it on
then store the somethings in a var and when the player says -save or whatnot display the encoded variable (with the player name and secret unlocked mixed in)
then at -load
decode the code to check the player's name, and set the var with the respective secrets unlocked to be turned on
anddd it cant be that hardd
how bout when the hero unlocks the secret (by doing w.e that needs to be done)
have an array for that player and the respective secret to change to something to turn it on
then store the somethings in a var and when the player says -save or whatnot display the encoded variable (with the player name and secret unlocked mixed in)
then at -load
decode the code to check the player's name, and set the var with the respective secrets unlocked to be turned on
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: Save/Load Help Please.
Do you know how to do this with save/loads?
I suck at save loads, and I just currently use Acehart's.
But i've got an idea on how to make it easier, it just probably won't work.
And hello
I'll mess around with the saveload codes and see what I can do.
I suck at save loads, and I just currently use Acehart's.
But i've got an idea on how to make it easier, it just probably won't work.
And hello
I'll mess around with the saveload codes and see what I can do.