Project1
标题:
怎么让队伍的领队不能更换
[打印本页]
作者:
糯米_包子
时间:
2016-7-31 20:38
标题:
怎么让队伍的领队不能更换
同标题,怎么让队伍的领队不能换。
不是关闭整队哦,我想让领队固定玩家不能换。
作者:
烛龙之殇
时间:
2016-7-31 22:02
请用这个
#==============================================================================#
# * RGSS3 Script - Captian Lock #
# * Author - Shadwo Momo #
# * Version - 1.0 #
# * Last Update - 2013.12.15 #
#------------------------------------------------------------------------------#
# * Introduce #
# Prevent the captian from being replaced. #
#------------------------------------------------------------------------------#
# * Instruction #
# Insert the script below other materials but above Main. #
#------------------------------------------------------------------------------#
# * Update #
# V 1.0 2013.12.15 Build #
#------------------------------------------------------------------------------#
# * License #
# This script is written by Shadow Momo. Please keep this information if you #
# use or edit it. #
#==============================================================================#
class Scene_Menu
alias :on_formation_ok_captian_lock :on_formation_ok
def on_formation_ok
if @status_window.index == 0
Graphics.wait(20)
Sound.play_buzzer
@status_window.activate
else
on_formation_ok_captian_lock
end
end
end
#==============================================================================#
#=========================== ===========================#
# End of File #
#=========================== ===========================#
#==============================================================================#
复制代码
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1