Graal Forums

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

ArmadeusWarlock 09-04-2001 08:37 AM

Please help
 
I just need a little more help.

Online strings? How would I make a string for online use so if I set a string, anyone could read it? (online)

WeirdmanI9 09-04-2001 08:47 AM

setstring server.blingbling;

WeirdmanI9 09-04-2001 08:49 AM

or, come to think of it, if you want it for a single NPC, use

setstring this.blingbling;

ArmadeusWarlock 09-04-2001 08:58 AM

lol
 
lol, blingbling
thats how i thought you did it, i just wasnt sure. thanks

Merlin 09-04-2001 09:42 AM

no there is no variable in that it would be
PHP Code:

if (action) {setstring server.message,hi;


to display...

PHP Code:

if (playerenters || created) {
timeout=.5;
}
if (
timeout) {message #s(server.message);
timeout=.5;



van_01 09-06-2001 05:09 AM

i agree with merlin!

ArmadeusWarlock 09-06-2001 10:35 AM

New dude to the board you are, van :(

WELCOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

everandom 09-06-2001 02:50 PM

1 posts??? kewlll....
:spam:

BTW can anyone answer my thread...
I repeat the question...

if there are two palyers got the same NPCW that have keydowns in the if () lists....
if one player press the key will the other NPCWs be affected...
they're in the same level...

Slaktmaster 09-06-2001 03:57 PM

you cant do setstring this.donkeypoopie without npc server, and i'm not sure if you can do it with npc server either.

everandom 09-07-2001 07:15 AM

Quote:

Originally posted by Kaimetsu


/me scratches his head.

I'm not perfectly sure how things work on the NPC server. Level.variables can be read/set by weapons, can't they?

how bout in non NPC server?

grim_squeaker_x 09-07-2001 03:50 PM

Quote:

Originally posted by everandom
if there are two palyers got the same NPCW that have keydowns in the if () lists....
if one player press the key will the other NPCWs be affected...
they're in the same level...

The only effect the other players will be able to notice is non-this.variables, server.strings and showimges with an index lower then 200. So no, other players won't get the effect of one player pressing a key.

LiquidIce00 09-08-2001 02:27 AM

Quote:

Originally posted by Kaimetsu


/me scratches his head.

I'm not perfectly sure how things work on the NPC server. Level.variables can be read/set by weapons, can't they?

isnt there some problem with level variables on the npc server
I heard something bout it (not sure tho)

everandom 09-08-2001 01:11 PM

kay thanx :D


All times are GMT +2. The time now is 03:36 PM.

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