View Single Post
  #10  
Old 02-05-2005, 07:27 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by ChibiChibiLuc
Alright, I've got this in a gani. It shows fading numbers.
When the gani shows, Graal takes a fit, gives me an error, and then says it has an error and crashes.
I'm using Graal v3, of course, and Gscript2.

NPC Code:
function onCreated() {
timeout = .05;
this.fade = 2;
}
function onTimeout() {
timeout = .05;
this.y -= .1;
this.fade -= .1;
showtext(5,x+(20/16),y+this.y,"Times New Roman","b","Oh my");
changeimgcolors(5,#p(1),#p(2),#p(3),this.fade);
}

To answer your question, I'd need to know if clientside code for the new engine is enabled in ganiscripts.

If it is enabled for ganiscript: this.fade is fairly quickly going to become negative (in 2 seconds). Perhaps it does not like attempting to set a negative alpha? Please post the relevant error messages/console.log.
Reply With Quote