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 07-19-2002, 03:05 PM
HeeroYuy2000 HeeroYuy2000 is offline
Registered User
Join Date: Aug 2001
Location: Huntsville
Posts: 305
HeeroYuy2000 is on a distinguished road
Send a message via AIM to HeeroYuy2000 Send a message via Yahoo to HeeroYuy2000
Unhappy A little help plz?

Any tips on how i could make a NPC that allows me to update what it says when you touch it like if i went to it and my account was liekomg and it would let me add updates and change stuff without lvl editor???a little help would be good Thanks alot!?
__________________
Reply With Quote
  #2  
Old 07-19-2002, 08:36 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
im not sure what you getting at

are you talking about some sign that you add updates to?

or actual level edits?
__________________
[signature]insert here[/signature]
Reply With Quote
  #3  
Old 07-19-2002, 08:41 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
okay, after reading it many many times, i think i decyphered it

you have a NPC that says something when you touch it

and you say, announce "bla"

and then the NPC will say bla from now on, etc, etc

for serverside scripting
NPC Code:

if (created) {
setshape 0,32,32;
}

//#CLIENTSIDE
if (playertouchsme) {
say2 #s(serverr.npcsign);
}



and have the other npc change the string serverr.npcsign to whatever you say

but i am a little confused on how you would get breaks in there
__________________
[signature]insert here[/signature]
Reply With Quote
  #4  
Old 07-20-2002, 05:43 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
umm

he means like there is a sign you touch it and it says sumthing in not message form but like say2 form (i think) and he wasnt to be able to update it make the words diff and stuff.
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #5  
Old 07-21-2002, 02:42 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
so

that might work though
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #6  
Old 07-21-2002, 04:59 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
ok

very very nice
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #7  
Old 07-21-2002, 05:01 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
but

Can you change it online like i go up to it and say like "sign say then whatever will be on the sign???" while online thats what i want to do
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #8  
Old 07-22-2002, 02:00 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
such a simple script too......
__________________

subliminal message: 1+1=3
Reply With Quote
  #9  
Old 07-22-2002, 04:26 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by Kaimetsu
SHUT UP

STOP double-posting
STOP asking for whole scripts
agreed, double posting = annoying
__________________
[signature]insert here[/signature]
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 08:38 PM.


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