Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 09-24-2001, 10:03 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
Ok this is an old ass one I made.

//Code copyrighted by Josey Hunt and may not be used without his express written permission
// NPC made by The Josey Hunt
if (playerenters) {
x=x +.5;
timereverywhere;
set spar;
timeout=0.05;
}
if (timeout&&playerx<=x&&playery<=y&&spar) {
playerx=playerx +.08;
playery=playery +.08;
timeout=0.05;
}
if (timeout&&playerx>=x&&playery>=y&&spar) {
playerx=playerx -.08;
playery=playery -.08;
timeout=0.05;
}

if (timeout&&playerx<=x&&playery>=y&&spar) {
playerx=playerx +.08;
playery=playery -.08;
timeout=0.05;
}
if (timeout&&playerx>=x&&playery<=y&&spar) {
playerx=playerx -.08;
playery=playery +.08;
timeout=0.05;
}

Dont worry about the copyright up there, use it, who cares =D This can be easily edited for other things

P.S.
My new tat owns jo0! =D didnt show up in the pic very good though -curses lighting at raves. v.v
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'

Last edited by joseyisleet; 09-24-2001 at 10:06 PM..
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.