View Single Post
  #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