![]() |
Dynamic Framesets?
I've recently been playing around with gui's and came across something that no matter how much trial and error i attempt i cannot get this to work.
Basically it's a gui with a dynamic number of tabs depending on a string being set. With a pane for each of these tabs, but for the life of me I cannot get the pane to show. Any help would be greatly appreciated: NPC Code: |
hmm easier to do
HTML Code:
//Do the basic row thing stuff here |
Quote:
PHP Code:
PHP Code:
|
Why would you want to keep the VARIABLE data?
Here: HTML Code:
function onCreated() |
Quote:
temp.str is set (temporary variable) PHP Code:
PHP Code:
|
Quote:
You obviously don't know gscript two. Try the script that I posted. |
Quote:
PHP Code:
|
Ok, I've lost alot of respect for you.
|
Quote:
Just don't say anything when someone more "respected" tell you how they work. |
Did you even try the script?
|
No, I didn't, and.. Oh bugger. Guess I'll have to apologize for being narrow sighted. I just realized that I'm bull****ting myself. Of course it's not cleared afterwards. Don't know why I was thinking it would, must've confused myself there.
|
Chandler: When you specify a variable without a prefix that isn't an existing variable of the current object, it automatically gets headed with "temp."
If it DOES exist on the current object, it automatically gets headed with "this." You can't just have random variables floating around with no heading...Graal will automatically assign every variable to some object or another (with the assumption that "temp" is an object in this case) |
It's still setting it to the object, which can be called from a different function too. To me, that isn't a TEMP. prefix.
|
What would be the point of a variable without a prefix? I always use temp.i, except for params, and that's just from habit. If you needed something that was global on the client, client. variables (clientside). If you want something global to the NPC, this./thiso., if you want something global on the server, server. or serverr.
Someone care to explain what it is used for? |
Explain what?
|
| All times are GMT +2. The time now is 04:32 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.