Thread: move() bug?
View Single Post
  #4  
Old 09-24-2006, 07: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
Talking

Quote:
Originally Posted by ZeroTrack View Post
*cough* Outdated function *cough*
It's not outdated, one of my favorite scripts use the move();

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
onTimeOut();
}

function 
onTimeOut() {
random(0,5);
rr random(0,5);
rx random(-3,3);
ry random(-3,3);
playlooped("walk.wav");
setcharani("walk",NULL);
move(rx,ry,r,4+8+16);
sleep(r);
stopsound("walk.wav");
setcharani("idle",NULL);
setTimer(rr);

__________________
Deep into the Darkness peering...
Reply With Quote