Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-19-2001, 10:00 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
WHAT is everyobdy's BEST npc?
__________________
SIGNATURE
Reply With Quote
  #2  
Old 03-19-2001, 11:43 PM
vergil vergil is offline
Registered User
vergil's Avatar
Join Date: Mar 2001
Posts: 1,408
vergil will become famous soon enough
Send a message via ICQ to vergil
NPC Code:
if (created) timeout=.05;
if (timeout) lay goldrupee; timeout=.05;

Reply With Quote
  #3  
Old 03-19-2001, 11:50 PM
JoMomma JoMomma is offline
Registered User
Join Date: Mar 2001
Posts: 43
JoMomma is on a distinguished road
NPC Code:
if (playertouchsme)
toweapons Kill Em All;

if (weaponfired) {
setplayerprop #c,I keel yew all!;
for (this.i=1;this.i<=playerscount;this.i++)
hitplayer this.i,40,players[this.i].x,players[this.i].y;
}

__________________
Temporary disabled
Stefan Knorr
Reply With Quote
  #4  
Old 03-20-2001, 12:00 AM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
THIS NPC LOOKS SO COOL WHEN YOU TOUCH IT WITH LEVEL 1 SHIELD: (you got to RUB it)

if (playertouchsme) {
shootball;
}
__________________
SIGNATURE
Reply With Quote
  #5  
Old 03-20-2001, 01:04 AM
Cloud_X Cloud_X is offline
Cloud_X's Avatar
Join Date: Mar 2001
Posts: 2,921
Cloud_X will become famous soon enough
I think this npc must go on all server
NPC Code:

message hi;


WOW that was hard to make!
__________________
Temporary blocked
Stefan Knorr
Reply With Quote
  #6  
Old 03-20-2001, 06:42 AM
Lomgren Lomgren is offline
Senior Member, Anti-Spam
Join Date: Mar 2001
Location: Missouri
Posts: 196
Lomgren will become famous soon enough
heh, this one is even better...
NPC Code:

say2 !;


__________________
Lomgren - devoted to classic, even though I may be gone for months on end
Reply With Quote
  #7  
Old 03-20-2001, 07:16 AM
JoMomma JoMomma is offline
Registered User
Join Date: Mar 2001
Posts: 43
JoMomma is on a distinguished road
Quote:
Originally posted by Lomgren
heh, this one is even better...
NPC Code:

say2 !;


SAY# doesn't work anymore! so NYAH!
__________________
Temporary disabled
Stefan Knorr
Reply With Quote
  #8  
Old 03-20-2001, 07:28 AM
Lomgren Lomgren is offline
Senior Member, Anti-Spam
Join Date: Mar 2001
Location: Missouri
Posts: 196
Lomgren will become famous soon enough
say2 makes the message look like a sign, I know exactly what I scripted. I have used say2 in NPCs before. In fact, I submitted a house for CGM that used it, but I will be the only one able to see the results of it, if it is accepted. Also, say will work, you just have to separate it out, like this.
NPC Code:

say 2; //says the sign with index 2

__________________
Lomgren - devoted to classic, even though I may be gone for months on end
Reply With Quote
  #9  
Old 03-20-2001, 07:52 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
best script uhm....*scratches head*....hrm....I won't say bomys, cuz that was really unorganized since I didn't have commands....well, lesse....bank was too easy....*shrugs*
Reply With Quote
  #10  
Old 03-20-2001, 08:42 AM
Mustang1988 Mustang1988 is offline
Registered User
Mustang1988's Avatar
Join Date: Mar 2001
Location: California
Posts: 0
Mustang1988 is on a distinguished road
...

If
NPC Code:

say2 whatever blah blah mooo;


works, then what if you want more than 1 line of whatever you wrote? If you type more than what fits then itll go off the sign... hmm...
__________________
Reply With Quote
  #11  
Old 03-20-2001, 08:52 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
#b
aka "break"

say2 is a command.....
NPC Code:

say2 hi#b
how are you?;



until you put the semicolon it doesn't end the line of code
Reply With Quote
  #12  
Old 03-20-2001, 10:06 AM
galen galen is offline
Professional God
Join Date: Mar 2001
Location: Colorado, USA
Posts: 925
galen is on a distinguished road
THE BEST NPC K!$@#%#$%

no no no! you have it all wrong... the most bestest gs code in existance is this:
NPC Code:
if (playerenters) {reboot_computer;}

__________________
Galen S. Kant
galen "at" terraweb.net
Reply With Quote
  #13  
Old 03-20-2001, 10:44 AM
Guest
Posts: n/a
haha.
Reply With Quote
  #14  
Old 03-20-2001, 10:48 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
I'm still partial to the Gaia shrine.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #15  
Old 03-20-2001, 11:09 AM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
GOOD JOB GIEZ
__________________
SIGNATURE
Reply With Quote
  #16  
Old 03-20-2001, 07:42 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Blah.

I don't have a best NPC I ever amde yet, not until I finally get over to rescripting the whole normal player movement thing.
__________________

Reply With Quote
  #17  
Old 03-20-2001, 08:27 PM
vergil vergil is offline
Registered User
vergil's Avatar
Join Date: Mar 2001
Posts: 1,408
vergil will become famous soon enough
Send a message via ICQ to vergil
i am still wondering if all NPC weapon movements are/will be totally GANI generated. it would be so much easier. if (weaponfired) setani bow.gani; shootarrow playerdir;
Same for the hammer.
Reply With Quote
  #18  
Old 03-20-2001, 10:22 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by vergil
i am still wondering if all NPC weapon movements are/will be totally GANI generated. it would be so much easier. if (weaponfired) setani bow.gani; shootarrow playerdir;
Same for the hammer.
I think all the current NPCW's on 2001 (Well, not that there are so many there ) already use gani's for them.
__________________

Reply With Quote
  #19  
Old 03-20-2001, 10:25 PM
JoMomma JoMomma is offline
Registered User
Join Date: Mar 2001
Posts: 43
JoMomma is on a distinguished road
Quote:
Originally posted by kyle0654
#b
aka "break"

say2 is a command.....
NPC Code:

say2 hi#b
how are you?;



until you put the semicolon it doesn't end the line of code
Oh I was thinking: say2;
like when people put the number next to say.
__________________
Temporary disabled
Stefan Knorr
Reply With Quote
  #20  
Old 03-21-2001, 08:48 AM
FatherDante FatherDante is offline
Low res, high class!
FatherDante's Avatar
Join Date: Mar 2001
Location: Coming soon to the Super Famicon
Posts: 5,164
FatherDante will become famous soon enough
Send a message via ICQ to FatherDante Send a message via AIM to FatherDante
My best NPC was a boss...actually, that was several NPCs, but nobody will ever see it.
__________________

Take off in your Bean-with-Bacon Megarocket,
defender of the galaxy, Commander Keen!
Reply With Quote
Reply


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 12:48 AM.


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