Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

... and a pony while I'm at it.

Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
02-09-2003 11:47
This is a -big- wish. And just that - a wish. I think it would be cool but I have no real hope of seeing it ingame. :D

Window controls.

New objects: Window,Textbox,Button,CheckBox

New Methods:
llAddToWindow(Window w,Object O,integer X, integer Y) adds a string, number, textbox,button,checkbox etc. to the window W at specified position.
llOpenWindow(Window W);
llCloseWindow(Window W);
llAdjustWindow(integer Property, value) - set hieght, width, etc
llGetValue(Object O); These two may need to actually be several
llSetValue(Object O, float Value); different methods


New States: WindowOpen, WondowClose

New (sub)features: Ability to add scripts to an Avatar. Ability to trigger scripts by hotkeys - maybe a keypressed state or something.

Benefits (or why the heck would I want this):
This would allow for, among other things, allowing owners to modify parameters of a script that is nonmodifiable (if that ever gets into the game :) ) in an easier maner than talking to it. It could also help with some sub-games (meta games? or is SL a meta game? and the others are just games?). Especially games with an RPG feel because you could now have a stats window.

I'm sure there are more ideas too. :) Again, this is a tall order and just a dream. :)
Pat Murphy
The Wandering Wizard
Join date: 2 Dec 2002
Posts: 142
02-09-2003 11:49
I agree, the window thing would rock, especially if we also had functionality to load text out of notes.

also, as far as hot keys go, it would be cool to be able to trigger script states from the gesture setup. so that saying /whatever could trigger the AVs script to state whatever.

-pat Murphy
_____________________
That's how they showed their respect for Paddy Murphy
That's how they showed their honour and their pride;
They said it was a sin and shame and they winked at one another
And every drink in the place was full the night Pat Murphy died.
-Great Big Sea
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
Clerification
02-09-2003 11:58
From: someone
llAddToWindow(Window w,Object O,integer X, integer Y) adds a string, number,


Sorry I'm a java/c++ programmer by trade and realized after I submitted that this could be confusing. Object in this case just means a generic element, meaning you could put a checkbox there or a textbox. It does not mean an inworld object. It's a Java carry over, sorry.
Wednesday Grimm
Ex Libris
Join date: 9 Jan 2003
Posts: 934
02-09-2003 12:57
Oh goody, popup ads.
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
02-09-2003 14:23
Actually Grimm .... ew. I wasn't even thinking that.

I was thinking entirely 'owner only', but now that I think about it you are right. There is potential here for some very annoying scripts.

Some ideas to combat that:
- A checkbox on the 'general' edit window tab called "Allow this object to create windows" or something. It would default to off everytime the object changes owners or something and no script could change this - only the user. However a script should be able to detect what it is set at. That way if I make a script that really needs a window, I could detect that its not enabled and give the owner an appropriate message.

- Make it work like cookies in browsers. Options under preferances for "Allow all", "none" and "ask me for each object". The first time an object tries to open a window you would get asked if you wanted to. Options on that window should inlude "No, never from this object/script", "Not this time", "Disable all user windows". If objects can open windows for users other than the owner then these options would also be needed "Always from this user", "Never from this user".

- Don't implement an "open window" call. Instead only have a "windowOpen" state and an "open window" option on the pie menu. This is the simplest and probably best option now that I think about it. It would be nice if buttons could trigger the opening of sub-windows but not necessary.

==============

Thanks Wednesday for pointing that out. What I really am looking for is a way to add more character development / rpg characteristics to the game. Right now the only "goal" of character development is the leader boards, but that only shows the top few. I would like to be able to do it through some nice scripts, mostly wearable objects (armor etc.), that would keep track of and manipulate some numbers based on stuff you do etc. Having some screens to select/modify stats, view stats etc. would really help. :)