How can I save set swithces after closing game? [SOLVED]

Discussion in 'RPG Maker VX Ace' started by DarkSpines_Games, Jun 2, 2019.

Thread Status:
Not open for further replies.
  1. DarkSpines_Games

    DarkSpines_Games Villager Member

    Messages:
    6
    Likes Received:
    2
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    Hi! I'm currently using RMVA to make my game and I know this japanese script that allows to save the set variables after closing game, but, can I do the same with switches?

    Thanks!
     
    #1
  2. Shiro-chan

    Shiro-chan Veteran Veteran

    Messages:
    92
    Likes Received:
    18
    First Language:
    German
    Primarily Uses:
    RMVXA
    Please link the script in question, we are not psychics.
     
    #2
    xdan likes this.
  3. Dreadshadow

    Dreadshadow Lv 38 Tech Magician Moderator

    Messages:
    3,840
    Likes Received:
    2,489
    First Language:
    Greek
    Primarily Uses:
    RMMV
    What do you try to achieve?
    Persistent data through plays, even after deleting saves by any chance?
    Just a hunch, I am trying to guess here. It would be nice to see that script you are talking about.
     
    #3
    xdan likes this.
  4. DarkSpines_Games

    DarkSpines_Games Villager Member

    Messages:
    6
    Likes Received:
    2
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    Okay, that script has nothing to do with why I'm asking for, but since you want it too bad...

    Japanese Script (provided by user "username"):
     
    #4
  5. DarkSpines_Games

    DarkSpines_Games Villager Member

    Messages:
    6
    Likes Received:
    2
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    That one's for RMVX, not Ace. But I'd like to save set switches in Ace.
     
    #5
  6. Dreadshadow

    Dreadshadow Lv 38 Tech Magician Moderator

    Messages:
    3,840
    Likes Received:
    2,489
    First Language:
    Greek
    Primarily Uses:
    RMMV
    Still, it seems I know what you wanna do.
    Okay please tell me IN DETAIL what you wanna happen.

    Play game, Save it, log out, close game, delete save, create new game and a switch to be still ON?
    If so that is called Persistent Data.

    Also sorry but I have to do this, don't get intimmidated, we post blue text so we can help new users adapt soon.
    You can use edit instead.

    @DarkSpines_Games , please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

     
    #6
  7. Shiro-chan

    Shiro-chan Veteran Veteran

    Messages:
    92
    Likes Received:
    18
    First Language:
    German
    Primarily Uses:
    RMVXA
    The provided script does have a "SWITCH" line where you would write the switches you want as persistent data as explained by Dreadshadow, so I don't know what exactly the problem is. Procurring a VXA version perhaps?
     
    #7
  8. Heirukichi

    Heirukichi Veteran Veteran

    Messages:
    1,254
    Likes Received:
    519
    Location:
    Italy
    First Language:
    Italian
    Primarily Uses:
    RMVXA
    This is what the OP said:
    So I guess that the problem lies within the fact that the script does not work for Ace, only for VX, and the OP wants it to be adapted for VX Ace.

    There was a similar discussion on this forum last week, you can check it here. There is a link to a script that allows you to use persistent data (provided that persistent data is what you need). However, to be sure, please tell us in detail what you want to achieve, as @Dreadshadow said, this way we can know for sure if that script works for you or not.
     
    #8
  9. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,640
    Likes Received:
    2,966
    Location:
    Philippines
    First Language:
    Tagalog
    #9
  10. Heirukichi

    Heirukichi Veteran Veteran

    Messages:
    1,254
    Likes Received:
    519
    Location:
    Italy
    First Language:
    Italian
    Primarily Uses:
    RMVXA
    @DarkSpines_Games even if you do not want to use those scripts and you really want to use the japanese one for some reason, the main difference between VX and VX Ace concerning that script is that saving/loading the game in VX was something handled by the Scene_File class, while in VX Ace the DataManager module does that instead. Simply changing that should work, at a first glance every other aliased method exists in VX Ace as well.
     
    #10
  11. DarkSpines_Games

    DarkSpines_Games Villager Member

    Messages:
    6
    Likes Received:
    2
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    Thanks you all, think it's solved. By the way, I'm so sorry about the double posting, I'm new and I haven't read ALL rules, but I will. Thanks you again!
     
    #11
    Dreadshadow likes this.
  12. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,675
    Likes Received:
    4,156
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP

    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

     
    #12
Thread Status:
Not open for further replies.

Share This Page