Quote:
Originally Posted by Stryke
Woah, didn't know there a showani() command. Thanks i'll try it.
It automatically deletes itself after being played, right?
|
I don't think so.
Might want to do this:
PHP Code:
function showBlood()
{
showani( [...] );
schedulevent( length, "GaniEnded", "" );
}
function onGaniEnded()
{
hideimg( 1 );
}
EDIT:
Here are the showani params.
showani( index, x, y, direction, animation, params );
So something like
PHP Code:
showani( 1, player.x, player.y, 2, "mybloodani", "" );