Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-05-2005, 05:36 AM
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
Why would this crash Graal?

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);
}

Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.