Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-11-2001, 01:45 PM
Cyboars Cyboars is offline
Registered User
Cyboars's Avatar
Join Date: Mar 2001
Location: Everwhere.
Posts: 209
Cyboars is on a distinguished road
Send a message via AIM to Cyboars Send a message via Yahoo to Cyboars
I've worked on this for human pets --almost done.here's the follow script

NPC Code:

// Graal NPC by Chris
if (created) {
// Initialize the attributes
showcharacter;
setcharprop #3,head1132.gif;
setcharprop #C0,black;
setcharprop #C1,black;
setcharprop #C2,black;
setcharprop #C3,black;
setcharprop #C4,black;
setcharprop #n,-=hή؆h=- (Corrupted Angels);
setcharprop #2,no-shield.gif;
shieldpower = 1;
setcharprop #8,body2.png;
dir = 2;
ap = 0;
}
if (playerdir = 1){setdir = 1;}
if (playerdir = 2) {setdir = 2;}
if (playerdir = 3) {setdir = 3;}
if (playerdir = 4) {setdir = 4;}
if (playersays(Cool)){say2 Want Cyph to follow?;}
if (playersays(follow)){followplayer;}


I'm not including the pet part :-P
And I AM Including a Picture of me running around a Mithica Level (offline) with a crapload of followers...
Attached Thumbnails
Click image for larger version

Name:	originalclocktownparty.png
Views:	190
Size:	43.6 KB
ID:	667  
__________________


Returned to Graal 2/1/02
Reply With Quote
  #2  
Old 05-11-2001, 01:46 PM
Cyboars Cyboars is offline
Registered User
Cyboars's Avatar
Join Date: Mar 2001
Location: Everwhere.
Posts: 209
Cyboars is on a distinguished road
Send a message via AIM to Cyboars Send a message via Yahoo to Cyboars
heres a better one..i hope
Attached Thumbnails
Click image for larger version

Name:	followleader2.png
Views:	171
Size:	27.4 KB
ID:	668  
__________________


Returned to Graal 2/1/02
Reply With Quote
  #3  
Old 05-12-2001, 02:57 AM
Cyboars Cyboars is offline
Registered User
Cyboars's Avatar
Join Date: Mar 2001
Location: Everwhere.
Posts: 209
Cyboars is on a distinguished road
Send a message via AIM to Cyboars Send a message via Yahoo to Cyboars
lmao, i suck at scripting..ITS THE BEST I CAN DO!!!heh..
__________________


Returned to Graal 2/1/02
Reply With Quote
  #4  
Old 05-13-2001, 05:50 AM
bb2k1 bb2k1 is offline
Registered User
Join Date: Apr 2001
Location: Canada
Posts: 396
bb2k1 is on a distinguished road
Send a message via ICQ to bb2k1
I could script that in 5 seconds.
Make it detect if the playerx is over x and if so make it move up and check
down, and left, and right.
It's easy.
__________________

- Richter fighting his doppleganger

- Richter Belmont

"Jesus, Jesus, hes our savior. If he can't do it, we'll choose another religious flavor!"
Reply With Quote
  #5  
Old 05-13-2001, 02:06 PM
bb2k1 bb2k1 is offline
Registered User
Join Date: Apr 2001
Location: Canada
Posts: 396
bb2k1 is on a distinguished road
Send a message via ICQ to bb2k1
No, if it's checking both it'll move diagonally.
__________________

- Richter fighting his doppleganger

- Richter Belmont

"Jesus, Jesus, hes our savior. If he can't do it, we'll choose another religious flavor!"
Reply With Quote
Reply

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 03:36 AM.


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