Cerca nel Forum
Showing results for tags 'MRA_FreezeMoveRoute'.
Trovato 1 risultato
-
Nome Script: MRA_FreezeMoveRoute Versione: N/D Autore/i: Mr. Anonymous, Moon, Jeff Informazioni: Questo piccolo script fornisce una funzione di congelare i movimenti autonomi di tutti gli eventi attraverso l'uso di un singolo switch... Istruzioni: Inserite lo script sotto Material. Cambiate 12: SWITCH_ID = 12con il numero di una switch a voi scelta. Script: #_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ #_/ ◆ Freeze Event Move Route - MRA_FreezeMoveRoute ◆ VX ◆ #_/ ◇ Last Update: 2008/09/30 ◇ #_/ ◆ Created by Mr. Anonymous ◆ #_/ ◆ Special Thanks to Moon for the 9/30 Update ◆ #_/ ◆ Creator's Blog: ◆ #_/ ◆ http://mraprojects.wordpress.com ◆ #_/---------------------------------------------------------------------------- #_/ This script provides a a function for freezing the automated movement #_/ routes of events through the use of a switch. #_/============================================================================ #_/ Aliased Method: Game_Character's update_self_movement #_/============================================================================ #_/ Install: Insert above main. #_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ #=============================================================================# # ★ Customization ★ # #=============================================================================# module MRA module FreezeMoveRoute # ★ Freeze Movement Switch ID ★ # This allows you to designate a switch that freezes all moveroutes of # events on the map. SWITCH_ID = 12 end end #=============================================================================# # ★ End Customization ★ # #=============================================================================# #============================================================================== # ** Game_Character #------------------------------------------------------------------------------ # This class deals with characters. It's used as a superclass of the # Game_Player and Game_Event classes. #============================================================================== class Game_Character #-------------------------------------------------------------------------- # * Update During Self movement #-------------------------------------------------------------------------- alias update_self_movement_mra_freezemoveroute update_self_movement def update_self_movement update_self_movement_mra_freezemoveroute if !$game_switches[MRA] end end