| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 9 |
| 经验 | |
| 最后登录 | 2024-5-10 |
| 在线时间 | 158 小时 |
- 梦石
- 0
- 星屑
- 946
- 在线时间
- 158 小时
- 注册时间
- 2016-8-25
- 回帖
- 92
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有账号?注册会员
×
本帖最后由 黑雪哲也 于 2019-11-13 17:33 编辑
嗯…如標題……
我想做類似AVG那種類型,但很勉強。
找了半天找到一個腳本是可以在對話框出現時候存檔,
但在選擇項出現時候可以呼叫,但存檔會失效還把那個存檔刪掉,有辨法解決嗎= =
找了半天的腳本﹕
- #encoding:utf-8
- #==============================================================================
- # ■ Window_Message
- #------------------------------------------------------------------------------
- # 显示文字信息的窗口。
- #==============================================================================
- #encoding:utf
- class Window_Message < Window_Base
- #--------------------------------------------------------------------------
- # ● 更新画面
- #--------------------------------------------------------------------------
- alias message_save_update update
- def update
- message_save_update
- update_save
- end
- #--------------------------------------------------------------------------
- # ● 更新存档判定
- #--------------------------------------------------------------------------
- def update_save
- if Input.trigger?(:X)
- SceneManager.call(Scene_Save)
- end
- end
- end
复制代码
|
|