Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-04-2002, 05:12 AM
46and2 46and2 is offline
Registered User
Join Date: Jan 2002
Location: Behind You
Posts: 40
46and2 is on a distinguished road
Send a message via AIM to 46and2 Send a message via Yahoo to 46and2
Question Help With a Script

Hi again, it is DevaS. I was wondering if you guys saw any problem with this script as it doesn't work. This is a bit tampered from my first try, but I am pretty sure the basic concept of it is still there. Any help would be greatly appreciated. Thanks.


// NPC made by Glysterine (FAQ)
if (playerenters) {
this.x=64;
setarray Stary,8;
timeout=1;
}
if (timeout) {
for (this.index2=0;this.index2<=7;this.index2++{
showimg this.index2-1,kstar.png,this.x,Stary[this.index2-1];
showimg this.index2*2-1,light2.png,this.x,Stary[this.index2-1];
changeimgcolors (this.index-1)*2,.5,.5,.5,.9;
changeimgzoom (this.index-1)*2,.25;
}
if (this.x=64){
for (this.index=0;this.index<=7;this.index++{
Stary[this.index-1]=random(0,64);
}
this.x=0;
timeout=.1;
}
this.x=this.x+1;
timeout=.1;
}

This is my first real attempt at using arrays. I have a feeling those are the biggest problems.
(I just realized one stupid mistake on my point, which I just fixed. Now the lighteffects aren't working properly.)
DevaS posting on Masamune's account
__________________
Nightmareangel is the only one that posts on this account.

Nightmareangel -Asst- GC Admin.
Reply With Quote
  #2  
Old 08-04-2002, 05:20 AM
46and2 46and2 is offline
Registered User
Join Date: Jan 2002
Location: Behind You
Posts: 40
46and2 is on a distinguished road
Send a message via AIM to 46and2 Send a message via Yahoo to 46and2
Guys sorry about this post, it was stupid of me. I just asked someone to look it over and they told me the mistakes that messed it up. Sorry for wasting the space, if one of you guys could delete it it would be better off.
__________________
Nightmareangel is the only one that posts on this account.

Nightmareangel -Asst- GC Admin.
Reply With Quote
  #3  
Old 08-04-2002, 05:24 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
blah, lol.

I was just about to correct it, so i could look cool, lol.

yeah, so, there's no point in doing it now, since it's fixed.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
Reply


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 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.