以下引用宾少于2007-12-18 15:24:00的发言:
...
我要 \n[1]
以下引用宾少于2007-12-18 16:46:12的发言:
我知道呀~
可我问的是合用在一起的话\name[\n[1]],就不会正常显示了呀.
# 显示人物姓名
name_window_set = false
if (/\\[Nn]ame\[(.+?)\]/.match(@now_text)) != nil
name_window_set = true
name_text = $1
@now_text.sub!(/\\[Nn]ame\[(.*?)\]/) { "" }
end
# 显示人物姓名
name_window_set = false
if (/\\[Nn]ame\[(.+?)\]/.match(@now_text)) != nil
name_window_set = true
name_text = $1
name_text = $game_actors[name_text.to_i].name rescue name_text
@now_text.sub!(/\\[Nn]ame\[(.*?)\]/) { "" }
end
#==============================================================================
# ■ Window_Frame (枠だけで中身の無いウィンドウ)
#==============================================================================
class Window_Frame < Window_Base
#--------------------------------------------------------------------------
# ● オブジェクト初期化
#--------------------------------------------------------------------------
def initialize(x, y, width, height)
super(x, y, width, height)
self.contents = nil
self.back_opacity = 160
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |