View Single Post
  #64  
Old 02-03-2004, 10:31 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
x-x just ask and ignore stupid answers

something like that would be good i guess (does wavy effect when someone touchs the npc)

NPC Code:

if (playertouchsme) {
this.waveangle = 0;
for (this.i=0; this.i<5; this.i+=0.05) {
setfocus playerx+1.5+sin(this.waveangle)*3,playery+2;
this.waveangle += 0.2;
sleep 0.05;
}
resetfocus;
}



I have not tested this but it should work. Change the 'this.waveangle += 0.2' line to some other value to get different waving speed
Reply With Quote