本帖最后由 guoxiaomi 于 2019-7-26 01:38 编辑
原因是,RMXP默认的战斗会在选择角色指令的时候改变窗口位置,使其与当前的角色对其。你需要同时修改Scene_Battle里的phase3_setup_command_window方法:
#-------------------------------------------------------------------------- # * Actor Command Window Setup #-------------------------------------------------------------------------- def phase3_setup_command_window # Disable party command window @party_command_window.active = false @party_command_window.visible = false # Enable actor command window @actor_command_window.active = true @actor_command_window.visible = true # Set actor command window position @actor_command_window.x = @actor_index * 160 # Set index to 0 @actor_command_window.index = 0 end
#--------------------------------------------------------------------------
# * Actor Command Window Setup
#--------------------------------------------------------------------------
def phase3_setup_command_window
# Disable party command window
@party_command_window.active = false
@party_command_window.visible = false
# Enable actor command window
@actor_command_window.active = true
@actor_command_window.visible = true
# Set actor command window position
@actor_command_window.x = @actor_index * 160
# Set index to 0
@actor_command_window.index = 0
end
简单点可以直接注释掉- @actor_command_window.x = @actor_index * 160
复制代码 |