Save BGS

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by tale, Jan 28, 2019.

  1. tale

    tale Volunteer Veteran

    Messages:
    419
    Likes Received:
    685
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Save BGS - 2018/08/05 (Ver.1.0)

    Creator name: kido0617

    Overview
    Use the following script call to save or replay bgs:

    to Save BGS-
    Code:
    $game_system.save_bgs
    to Replay BGS:
    Code:
    $game_system.replay_bgs
    Installation
    Paste this script above Main.

    Code:
    #===============================================================================
    # 2018/08/05 kido0617
    # http://kido0617.github.io/
    # Feel free to use
    # Credit is not necessary
    # Use the following script call
    # Save BGS: $game_system.save_bgs
    # Replay BGS: $game_system.replay_bgs
    #
    # Ver.1.0
    #-------------------------------------------------------------------------------
    
    class Game_System
    
      alias myinit initialize
      def initialize
        myinit
        @saved_bgs = nil
      end
     
      def save_bgs
        @saved_bgs = RPG::BGS.last
      end
    
      def replay_bgs
        @saved_bgs.replay if @saved_bgs
      end
    end
    Credit and Thanks: kido0617

    Terms of Use- Free for commercial and non-commercial use.

    License- Public Domain
     
    Last edited: Jan 29, 2019
    #1
    Eliaquim and Romanticist like this.

Share This Page