Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   this.onea problem (https://forums.graalonline.com/forums/showthread.php?t=27607)

Googi 04-17-2002 03:34 AM

this.onea problem
 
It seems that this string isn't shared among ALL scripts (as I thought strings were). Since I wouldn't like to have to recode everything to use flags (but I will if I have to), can someone tell me if there is a way to make this.onea universal among all scripts?

Saga2001 04-17-2002 03:40 AM

-FooL-

Four words: Take off the "this."

Gohan43331 04-17-2002 03:58 AM

To AAAAALLLLLLLL scripts, add server. insead of this.

It would make it accessable by all scripts throughout the server...but not reccomended to have more than 20 or so...since they can lag (by being updated alot). If you wanted to just make it inside the level, just remove the this. tag

Googi 04-17-2002 04:01 AM

Quote:

Originally posted by Saga2001
-FooL-

Four words: Take off the "this."

Gah, Kai told the that the this. was a good idea.

Saga2001 04-17-2002 05:26 AM

Quote:

Originally posted by Googi


Gah, Kai told the that the this. was a good idea.

Well it is awesome when used right, this. is for when you want them only accessible to the current npc.

Googi 04-17-2002 07:10 AM

Well, I got this fixed, and the Endless mines of Doom are 100% complete now, just gotta wait for that dumb guy Bird to get online.

Googi 04-17-2002 10:51 PM

I just want it to be able to be this.onea=0 or this.onea=1

Googi 04-17-2002 11:28 PM

I just want it to be able to be changed from 1 to 0 by other scripts on the same level.

Googi 04-17-2002 11:37 PM

Wait, nevermind, I got it fixed.

Googi 04-18-2002 03:05 AM

Well, actually, I was able to change it back to this.onea as the script could actually be put into the mining door script.


All times are GMT +2. The time now is 09:26 PM.

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