Thread: Zelda enemies!
View Single Post
  #9  
Old 08-21-2007, 01:47 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
get me an image and a Gani :P

PHP Code:
function onCreated() onTimeout();

function 
onTimeout() {
  
temp.t = random( 0, 3);
  
temp.x = int( random( 0, 4.5)); 
  
temp.y = int( random( 0, 4.5)); 
  
this.steps++;

  
setAni( "MOVEANI", NULL);
  
move( x, y, t, 4+8+16);
  
setAni( "IDLEANI", NULL);

  if ( 
this.steps > 4) {
    
shootball();
    
this.steps = 0;
  }

  
setTimer( t);
} 
something like that XD haven't tested it, so with my luck it doesn't work. :P
__________________
Deep into the Darkness peering...
Reply With Quote