Ok, im at school so I cant check if this works so, would this code do anything, and is there something I can change to make it work?
class pic
def say
print @greeting + " " + @name
image = Sprite.new
image.bitmap = RPG::Cache.picture(name of picture)
end
end
Oh, and I wrote it... :lol:
It should work, but you would first need to load an instance of the class somewhere
picture = pic.new
and define the variables @greeting and @name.