PHP Code:
showani(index, x, y, animation, params...);
index is an integer. It's used just like showimg. Images and animations with the same index will override each other. It's how you fiddle with them with script. Each showani, showimg, showpoly, etc (in the _same_ script, that is) needs its own individual index.
x and y are obvious.
animation is the name of the gani, without the ".gani" suffix.
params are the params you can pass to the gani, which do different things with different ganis
PHP Code:
function onCreated() {
showani(200, x, y, "sit", NULL);
}
PHP Code:
function onCreated() {
showani(200, x, y, "zodsword", attr[2]);
}
Both of those will work if you have the ganis.