View Single Post
  #14  
Old 02-05-2005, 04:59 PM
ChibiChibiLuc ChibiChibiLuc is offline
Cookie Monster. :3
Join Date: Jan 2005
Location: Nova Scotia, Canada
Posts: 111
ChibiChibiLuc is on a distinguished road
Send a message via AIM to ChibiChibiLuc Send a message via MSN to ChibiChibiLuc
I've got other gani scripts, they all work fine.
And thanks, I forgot to convert the #p()'s.
I originally had it stopping itself when fade hit 0, but I took it out to test if that's what was causing the crash. It wasn't.

It's slightly better now; it doesn't crash Graal every time the gani is shown, but instead it only crashes Graal maybe 1/6 times. Unfortunately, the text won't show. The script, right now, is:

NPC Code:

function onCreated() {
setTimer(.05);
this.fade = 2;
this.damage = params[0];
}
function onTimeout() {
setTimer(.05);
this.y -= .1;
if (this.fade > 0) {
this.fade -= .1;
}
showtext(5,x,y+this.y,"Times New Roman","b",this.damage);
changeimgcolors(5,params[1],params[2],params[3],this.fade);
}



Anyhow, the script that shows the gani is hiding it before fade hits 0.

Edit: Oh yeah, the console doesn't have anything in it about the crash.

Last edited by ChibiChibiLuc; 02-05-2005 at 05:04 PM.. Reason: O.o
Reply With Quote