查看: 1546|回复: 1

真·对话加强脚本问题

  [复制链接]
梦石
0
星屑
90
在线时间
3 小时
注册时间
2008-7-22
回帖
60
发表于 2008-8-29 05:59:06 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
脚本里的
    #——头像设置
     if (/\\([Ff])\[(.+?)\]/.match(@now_text))!=nil then
       @face = $2 + "_f.png"
       if $1 == "f" and $game_actors[$2.to_i] != nil
         face = $game_actors[$2.to_i].battler_name + "_f.png"
       end
       if FileTest.exist?("Graphics/Pictures/#{face}")
         @face_bitmap = Bitmap.new("Graphics/Pictures/#{face}")
         if @alignment
           @x = @face_indent = 128
           self.contents.blt(16, 16, @face_bitmap, Rect.new(0, 0, 96, 96))
         else
           self.contents.blt(self.contents.width - 112, 16, @face_bitmap,
             Rect.new(0, 0, 96, 96))
         end
       else
         face = nil
         @face_bitmap = nil
       end
       @now_text.gsub!(/\\([Ff])\[(.*?)\]/) { "" }
     end
头像这个怎么用
此贴于 2008-8-30 11:44:35 被版主darkten提醒,请楼主看到后对本贴做出回应。
版务信息:版主帮忙结贴~
萬事無憂三定律: 1.不要爲小事擔憂 2.所有的事情都是小事 3.萬壹真遇到大事別慌參照第二條!
梦石
0
星屑
50
在线时间
18 小时
注册时间
2008-5-16
回帖
241
发表于 2008-8-29 06:10:45 | 显示全部楼层
\f[]
系统信息:本贴由本区版主认可为正确答案,66RPG感谢您的热情解答~
大坑在我们的心中
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部