View Single Post
  #2  
Old 07-03-2010, 10:31 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Well, I buckled and used a hackish method. Just for anyone wondering:

PHP Code:
SCRIPT
function onCreated() {
  
this.makeParticle();
  
this.onTimeOut();
}

function 
makeParticle() {
  
hideImg(200);
  
  
with (findimg(200)) {
    
// ...
  
}
}

function 
onPlayerEnters() {
  
this.onCreated();
}

function 
onTimeOut() {
  
temp.img findImg(200);
  
  
temp.pos_0_0 = {272};
  
temp.pos_0_1 = {10, -3};
  
temp.pos_0_2 = {45};
  
temp.pos_0_3 = {197};
  
temp.pos_1_0 = {27, -3};
  
temp.pos_1_1 = {82};
  
temp.pos_1_2 = {50};
  
temp.pos_1_3 = {253};
  
temp.pos_2_0 = {261};
  
temp.pos_2_1 = {9, -2};
  
temp.pos_2_2 = {44};
  
temp.pos_2_3 = {188};
  
temp.pos_3_0 = {261};
  
temp.pos_3_1 = {72};
  
temp.pos_3_2 = {612};
  
temp.pos_3_3 = {1313};
  
temp.pos_4_0 = {26, -3};
  
temp.pos_4_1 = {7, -2};
  
temp.pos_4_2 = {98};
  
temp.pos_4_3 = {117};
  
temp.pos_5_0 = {22, -6};
  
temp.pos_5_1 = {8, -1};
  
temp.pos_5_2 = {116};
  
temp.pos_5_3 = {95};
  
temp.pos_6_0 = {22, -7};
  
temp.pos_6_1 = {9, -2};
  
temp.pos_6_2 = {98};
  
temp.pos_6_3 = {117};
  
temp.pos_7_0 = {260};
  
temp.pos_7_1 = {82};
  
temp.pos_7_2 = {512};
  
temp.pos_7_3 = {1313};
  
  
temp.temp.(@ "pos_" player.anistep "_" player.dir);
  
img.attachoffset = ((p[0] / 16) - 1.5) @ " " @ ((p[1] / 16) - 1.5) @ " 0";
  
  
this.setTimer(0.05);
}
SCRIPTEND 
__________________
Reply With Quote