Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   A little help plz? (https://forums.graalonline.com/forums/showthread.php?t=33823)

HeeroYuy2000 07-19-2002 03:05 PM

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!?

screen_name 07-19-2002 08:36 PM

im not sure what you getting at

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

or actual level edits?

screen_name 07-19-2002 08:41 PM

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 :(

Legondary_MyTH 07-20-2002 05:43 AM

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.

Legondary_MyTH 07-21-2002 02:42 AM

so
 
that might work though

Legondary_MyTH 07-21-2002 04:59 AM

ok
 
very very nice

Legondary_MyTH 07-21-2002 05:01 AM

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

Falcor 07-22-2002 02:00 AM

such a simple script too......

screen_name 07-22-2002 04:26 PM

Quote:

Originally posted by Kaimetsu
SHUT UP

STOP double-posting
STOP asking for whole scripts

agreed, double posting = annoying


All times are GMT +2. The time now is 01:12 AM.

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