Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   a few scripting updates (https://forums.graalonline.com/forums/showthread.php?t=41835)

screen_name 01-08-2003 06:47 AM

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.

Tseng 01-08-2003 07:06 AM

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.

screen_name 01-08-2003 07:09 AM

I've tried setstring this.bla,yes;

then another npc could still access the string. =(

Python523 01-08-2003 07:13 AM

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


All times are GMT +2. The time now is 01:58 PM.

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