加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 金芒芒 于 2023-7-12 14:23 编辑
只求第三张图片人物头像对应地图上的士兵
selected = $scene.group_lisenter.include?(@character.group) a = $scene.team_groups[@character.group-1].soldier_id x=443 for i in a $game_screen.pictures[i].show("头像#{i}", 0, x, 550, 100, 100, 255, 0) x-=87 end
selected = $scene.group_lisenter.include?(@character.group)
a = $scene.team_groups[@character.group-1].soldier_id
x=443
for i in a
$game_screen.pictures[i].show("头像#{i}", 0,
x, 550, 100, 100, 255, 0)
x-=87
end
(函数):在命令355中nil:nil类的未定义方法组
(eval) : in command 355undefined method group for nil : NilClass
以前a=[2] x = 443 a.push(11) a.push(4) a.push(6) a.push(8) for i in a $game_screen.pictures[i].show("头像#{i}", 0, x, 550, 100, 100, 255, 0) x-=87 end
a=[2]
x = 443
a.push(11)
a.push(4)
a.push(6)
a.push(8)
for i in a
$game_screen.pictures[i].show("头像#{i}", 0,
x, 550, 100, 100, 255, 0)
x-=87
end
|