[pre lang="ruby"]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.show("头像#{i}", 0,
x, 550, 100, 100, 255, 0)
x-=87
end[/pre]
(函数):在命令355中nil:nil类的未定义方法组
(eval) : in command 355undefined method group for nil : NilClass
以前[pre lang="ruby"]a=[2]
x = 443
a.push(11)
a.push(4)
a.push(6)
a.push(8)
for i in a
$game_screen.pictures.show("头像#{i}", 0,
x, 550, 100, 100, 255, 0)
x-=87
end[/pre]