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