Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-08-2003, 06:47 AM
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
a few scripting updates

How about with local NPCs, you could set this.strings that can only be read by the current NPC. I know there is already this.variables.

A way of accessing database NPCs this.strings easily. Such as NPCname.this.stringname.
Reply With Quote
  #2  
Old 01-08-2003, 07:06 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Re: a few scripting updates

Quote:
Originally posted by screen_name
How about with local NPCs, you could set this.strings that can only be read by the current NPC. I know there is already this.variables.

A way of accessing database NPCs this.strings easily. Such as NPCname.this.stringname.
For the first thing you suggest:

setstring this.whateveryouwantthestringnametobe,something;

For the second thing, I do think it would be nice.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #3  
Old 01-08-2003, 07:09 AM
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
I've tried setstring this.bla,yes;

then another npc could still access the string. =(
Reply With Quote
  #4  
Old 01-08-2003, 07:13 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
umm, no for the setstring DBnpcname.this.string, stefan would just encode it as a work around, it would not be more efficent at all, it would either require ALL serverside npcs to have ALL the database strings sent to them often or it would work just the same as doing
with(getnpc(name)) setstring thiso.string,#s(this.string);
but in a different way
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 01:04 PM.


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