Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-28-2006, 06:47 PM
wild8900 wild8900 is offline
Mr. Brightside
wild8900's Avatar
Join Date: Dec 2005
Posts: 418
wild8900 is an unknown quantity at this point
Send a message via MSN to wild8900
Variables problem

I got a particle script from a friend to learn but I coudnt put it in the level right. I got it actualy to appear in the level (the script is a class) but I cant get the x to appear at this.smokex and this.smokey even though in the script I have it set to be there.
NPC Code:
// NPC made by Irata
if (created){
this.smokex=x;
this.smokey=y;
}
join smoketest;



and in the particle script I use
NPC Code:
if (created||timeout){
with (findimg(200)){
x=this.smokex;
y=this.smokey;
}


timeout=0.05;
}
__________________

Last edited by wild8900; 05-28-2006 at 09:40 PM..
Reply With Quote
 


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:51 AM.


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