#============================================================================== # ☆ RGSS2(VX)専用 「移動完了までウェイト」コマンド Ver 1.20 #------------------------------------------------------------------------------ # 河原 つつみ # 連絡先 :『アクマの脳髄』http://www.akunou.com/ #------------------------------------------------------------------------------ # Thanks. 福山義仁 様 #------------------------------------------------------------------------------ # XPにはあった『移動完了までウェイト』のコマンドを擬似的に復活させます。 # 『スクリプト』コマンドで「command_move_route_waiting」と記述すると # そのイベントの移動が完了するまでウェイトします。 # 他のイベントやプレイヤーを指定する場合は「command_move_route_waiting(id)」 # とします(「id」には以下の対応IDを入れます)。 # -1 : プレイヤー # 0 : このイベント (デフォルト) # その他の数字 : そのIDが割り振られているイベント #------------------------------------------------------------------------------ # ■更新履歴 # Ver 1.20 指定キャラクターのみチェックするように仕様を変更。 #============================================================================== #============================================================================== # ■ Game_Interpreter #------------------------------------------------------------------------------ class Game_Interpreter #-------------------------------------------------------------------------- # ○ 移動完了までウェイト #-------------------------------------------------------------------------- def command_move_route_waiting(id = 0) # 戦闘中でなければ unless $game_temp.in_battle @moving_character = get_character(id) end end end