| 赞 | 14 |
| VIP | |
| 好人卡 | |
| 积分 | 25 |
| 经验 | |
| 最后登录 | 2024-3-12 |
| 在线时间 | 912 小时 |
- 梦石
- 0
- 星屑
- 2457
- 在线时间
- 912 小时
- 注册时间
- 2014-10-14
- 回帖
- 1155

|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有账号?注册会员
×
本帖最后由 j296196585 于 2016-10-18 06:46 编辑
请问这个脚本如何使用
case $game_variables[4002+@actor.id] 用于不同人物显示不同数据 然而我不会
[pre lang="ruby"] 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[/pre] |
|