Thread: Ugh..
View Single Post
  #1  
Old 06-20-2007, 03:33 PM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Ugh..

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
with (findimg(200)) {
    
x = player.x - 2.5;
    
y = player.y - 1.75;
    
layer = 0;
    
    
with (emitter) {
      
delaymin = delaymax = 0;
      
nrofparticles = 1;
      
maxparticles = 1;
      
attachtoowner = true;
      
      
with (particle) {         
        
image = "light12.png";
        
        
speed = 0;
        
spin = 1;
        
        
alpha = 0.70;
        
green = 0.7;
        
red = 0.7;
      }
    }
  }
  
onTimeout();
}

function 
onTimeout() {
  
findimg(200).x = player.x - 2.5;
  
findimg(200).y = player.y - 1.75;
  
  
setTimer(0.05);
} 
I've never had a problem with making particles and images following players. EVER. Why is it that it refuses to do that NOW? >_> It seems to warp to the player every 10 seconds or so.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote