じ☆ve冰风 发表于 2026-8-2 09:13:50

Save BGS

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


本贴来自国际rpgmaker官方论坛作者:ovate处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/save-bgs.104973/
页: [1]
查看完整版本: Save BGS