Moderátor: Moderátoři
if FileTest.exist?("Graphics/Pictures/"+actor.name+".png")
exi = 1
else
exi = 0
end;
case exi
when 1
self.contents.blt(0, 40, RPG::Cache.picture(actor.name+".png"), Rect.new(0, 0, 34, 34), opacity)
when 0
draw_actor_graphic(actor, x - 40, y + 80)
end
if FileTest.exist?("Graphics/Pictures/"+actor.name+".png")
exi = 1
else
exi = 0
end;
case exi
when 1
self.contents.blt(0, 40, RPG::Cache.picture(actor.name+".png"), Rect.new(0, 0, 34, 34), opacity)
when 0
draw_actor_graphic(actor, x - 40, y + 80)
end
Zpět na Skripty pro RPG Maker XP
Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 3 návštevníků