What I want to happen is: when you use the item, it creates a short rainstorm.
Whats currently happening is: the screen flickers like it got the 1st frame of the animation, but doesn't get past that.
Heres the script handling the animation:
CODE
//animation!
int frames = 0;
int x=0;
int y=0;
for (frames = 0; frames<= 15; frames++)
{
for (x=-16;x <= 256; x+=16)
{
for(y=0; y <= 176; y+=16)
{
Screen->DrawTile(6,x,y, 29460+frames,1,1, 5,1,0,0,0,0,1,64);
}
}
Waitframe();
}
int frames = 0;
int x=0;
int y=0;
for (frames = 0; frames<= 15; frames++)
{
for (x=-16;x <= 256; x+=16)
{
for(y=0; y <= 176; y+=16)
{
Screen->DrawTile(6,x,y, 29460+frames,1,1, 5,1,0,0,0,0,1,64);
}
}
Waitframe();
}
Nothing I haven't used before, in fact I copied it from another (ffc) script, where it works fine. Is it just because this is an item script that it doesn't work?
On another note, is there any way to get the candles "use once per screen" flag onto a non-candle item? Probably not a scripting question, but it might be, I don't know. If I did, I wouldn't be asking now would I?