Forum rules
IMPORTANT
This Forum is for Flash related questions ONLY! Do not ask questions about spriting, Game Maker, Photoshop, or anything else not related to Flash.
Individual Character Character Saves?
Author |
Message |
Psycho
Site Moderator
Joined: Fri May 22, 2009 3:44 pm Posts: 4156 Location: saying things with posed looks
Gender: Anime Girl
Skype: Snail's Legacy
Currently Playing: umib and unib
Waifu: SNAIL
|
Hey everyone, I have a problem that has been bugging me for a while. I'm trying to make individual character saves that allow me to choose who you start with and who you unlock. I thought you had to make booleans.
like for mewtwo(he's unlocked) I put :
_root.saveData.data.records.mewtwo = true;
and for Ike(Not Unlocked) i put: _root.saveData.data.records.ike = false;
Then i thought i could put an MC over the locked characters and type:
onClipEvent (load) { if (_root.savedata.data.records."character_name_Here" == true) { this._visible = false; } // end if }
OBVIOUSLY this is not working. does any one know ANYTHING about how to do this???
|
Thu Jul 29, 2010 12:10 am |
|
|
Gold
Joined: Sat Aug 23, 2008 3:10 am Posts: 2601 Location: Australia - Sydney
Gender: Male
Currently Playing: Ninja Gaiden III
|
Try adding the line
character = "character name here";
I'm assuming you've declared all of your variables.
That said, I'm no expert.
|
Wed Sep 22, 2010 5:29 am |
|
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|