赞 | 14 |
VIP | 0 |
好人卡 | 4 |
积分 | 24 |
经验 | 30333 |
最后登录 | 2024-3-12 |
在线时间 | 912 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 2385
- 在线时间
- 912 小时
- 注册时间
- 2014-10-14
- 帖子
- 1331

|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 j296196585 于 2016-10-18 06:46 编辑
请问这个脚本如何使用
case $game_variables[[email protected]] 用于不同人物显示不同数据 然而我不会
self.contents.font.color = Color.new(255, 000, 000, 255) self.contents.draw_text(0, 20, 120, 32, "国家:") self.contents.font.color = normal_color case $game_variables[4002+@actor.id] when 0 self.contents.draw_text(50, 20, 84, 32, "暂无",2)#限7个字 when 1 self.contents.draw_text(50, 20, 84, 32, "中国",2) when 2 self.contents.draw_text(50, 20, 84, 32, "美国",2) when 3 self.contents.draw_text(50, 20, 84, 32, "英国",2) when 4 self.contents.draw_text(50, 20, 84, 32, "法国",2) when 5 self.contents.draw_text(50, 20, 84, 32, "南非",2) end
self.contents.font.color = Color.new(255, 000, 000, 255)
self.contents.draw_text(0, 20, 120, 32, "国家:")
self.contents.font.color = normal_color
case $game_variables[4002+@actor.id]
when 0
self.contents.draw_text(50, 20, 84, 32, "暂无",2)#限7个字
when 1
self.contents.draw_text(50, 20, 84, 32, "中国",2)
when 2
self.contents.draw_text(50, 20, 84, 32, "美国",2)
when 3
self.contents.draw_text(50, 20, 84, 32, "英国",2)
when 4
self.contents.draw_text(50, 20, 84, 32, "法国",2)
when 5
self.contents.draw_text(50, 20, 84, 32, "南非",2)
end
|
|