I'm not sure exactly what you mean, but you're going to have to put the image in a GANI. The way it works is that the image in it is showing an index in that GANI, but it's using "PARAM1". PARAM1 is the second part of setCharAni. When you do
setChairAni("corn", 3); you are then showing the third index.
To make one for wheat, you need to create a GANI with one frame, place a single sprite inside the first frame, and then set the index to "PARAM1" (note that you may want to specify a default param1 at the bottom right). You've then got to import all your image steps as sprites into the GANI. You can upload that, and then you'd do
PHP Code:
setCharAni("wheat", 3);
You may want to take a look at the way it's done for "corn.gani" in your levels/ganis/* folder ("corn" in the script is referring to corn.gani).
