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 09-04-2001, 08:37 AM
ArmadeusWarlock ArmadeusWarlock is offline
Registered User
Join Date: Jun 2001
Posts: 373
ArmadeusWarlock is on a distinguished road
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)
Reply With Quote
  #2  
Old 09-04-2001, 08:47 AM
WeirdmanI9 WeirdmanI9 is offline
Banned
WeirdmanI9's Avatar
Join Date: Mar 2001
Location: Laying Low From The Police
Posts: 1,816
WeirdmanI9 is on a distinguished road
Send a message via AIM to WeirdmanI9 Send a message via Yahoo to WeirdmanI9
setstring server.blingbling;
Reply With Quote
  #3  
Old 09-04-2001, 08:49 AM
WeirdmanI9 WeirdmanI9 is offline
Banned
WeirdmanI9's Avatar
Join Date: Mar 2001
Location: Laying Low From The Police
Posts: 1,816
WeirdmanI9 is on a distinguished road
Send a message via AIM to WeirdmanI9 Send a message via Yahoo to WeirdmanI9
or, come to think of it, if you want it for a single NPC, use

setstring this.blingbling;
Reply With Quote
  #4  
Old 09-04-2001, 08:58 AM
ArmadeusWarlock ArmadeusWarlock is offline
Registered User
Join Date: Jun 2001
Posts: 373
ArmadeusWarlock is on a distinguished road
lol

lol, blingbling
thats how i thought you did it, i just wasnt sure. thanks
Reply With Quote
  #5  
Old 09-04-2001, 09:42 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
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;

Reply With Quote
  #6  
Old 09-06-2001, 05:09 AM
van_01 van_01 is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 164
van_01 is on a distinguished road
Send a message via AIM to van_01
i agree with merlin!
Reply With Quote
  #7  
Old 09-06-2001, 10:35 AM
ArmadeusWarlock ArmadeusWarlock is offline
Registered User
Join Date: Jun 2001
Posts: 373
ArmadeusWarlock is on a distinguished road
Unhappy

New dude to the board you are, van

WELCOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reply With Quote
  #8  
Old 09-06-2001, 02:50 PM
everandom everandom is offline
Registered User
Join Date: Apr 2001
Posts: 286
everandom is on a distinguished road
1 posts??? kewlll....


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...
__________________
RaNdoM InSaNiTy
!!??!!??!!??!!??!!
I'm always been unwanted!!!
MY english kwap
Reply With Quote
  #9  
Old 09-06-2001, 03:57 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
you cant do setstring this.donkeypoopie without npc server, and i'm not sure if you can do it with npc server either.
Reply With Quote
  #10  
Old 09-07-2001, 07:15 AM
everandom everandom is offline
Registered User
Join Date: Apr 2001
Posts: 286
everandom is on a distinguished road
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?
__________________
RaNdoM InSaNiTy
!!??!!??!!??!!??!!
I'm always been unwanted!!!
MY english kwap
Reply With Quote
  #11  
Old 09-07-2001, 03:50 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 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.
__________________

Reply With Quote
  #12  
Old 09-08-2001, 02:27 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
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)
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #13  
Old 09-08-2001, 01:11 PM
everandom everandom is offline
Registered User
Join Date: Apr 2001
Posts: 286
everandom is on a distinguished road
kay thanx
__________________
RaNdoM InSaNiTy
!!??!!??!!??!!??!!
I'm always been unwanted!!!
MY english kwap
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:07 PM.


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