Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Why I don't like llDialog()

Douglas Callahan
Fresh Prince Of SL
Join date: 2 Jul 2004
Posts: 349
05-14-2005 12:21
I've noticed some posts on using llDialog to avoid lag, however, I believe that llInstantMessage() or llWhisper() are better for the user because then they don't have to close a million boxes when they are done. I NEVER ever use llListen(0,"","","";) of course, however, until LSL comes up with a way to close dialog boxes from the script not the user, I plan on sticking to IMs.
_____________________
Other than that, Mrs. Lincoln, how was the play?
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
05-14-2005 12:31
Agreed. llDialog is getting overused. llOwnerSay or just touch on an appropriate prim-built control panel is often a far better alternative. To take an actual example, Blackjack with dialogs is less than enjoyable... your attention is constantly drawn from the cards to the top right of the screen, and there are simply TOO many dialogs.

As ever, UI design is a black art. But simple, comprehensive testing should prove to the creator not just whether "it works" but whether it is pleasant to use.

Just my 2c

/esc
_____________________
http://slurl.com/secondlife/Together
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
05-14-2005 12:34
Using llDialog for output is kinda stupid and does force people to close a lot of boxes.
But for input, it's pretty good, since the box closes automatically when you press a button.
Without llDialog, you force the user to read through a manual and memorize commands.
Not my idea of usability, unless you're catering to hardcore CLI freaks.
Shack Dougall
self become: Object new
Join date: 9 Aug 2004
Posts: 1,028
05-14-2005 12:37
llDialog is one of many bad choices that are available to us.

We desperately need for LL to provide better ways to make both 2D and 3D user interfaces.
_____________________
Prim Composer for 3dsMax
-- complete offline builder for prims and sculpties in 3ds Max
http://liferain.com/downloads/primcomposer/

Hierarchical Prim Archive (HPA)
-- HPA is is a fully-documented, platform-independent specification for storing and transferring builds between Second Life-compatible platforms and tools.
https://liferain.com/projects/hpa
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
05-14-2005 12:37
Well sure, appropriate use is fine, Eggy, as you point out. My agreement was with the rampant inappropriate use of the super-clever llDialog. Almost as if, once discovered, people use nothing else!
_____________________
http://slurl.com/secondlife/Together
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
05-14-2005 12:39
From: Shack Dougall
We desperately need for LL to provide better ways to make both 2D and 3D user interfaces.


In which case, place your vote here:
https://secondlife.com/vote/index.php?get_id=288

:)

/esc
_____________________
http://slurl.com/secondlife/Together
Shack Dougall
self become: Object new
Join date: 9 Aug 2004
Posts: 1,028
05-14-2005 12:44
From: Escort DeFarge
In which case, place your vote here:
https://secondlife.com/vote/index.php?get_id=288

:)

/esc


LOL I don't want to derail this discussion, but... :D

it would be really nice if we could get the coordinates for the touch as well. :D
_____________________
Prim Composer for 3dsMax
-- complete offline builder for prims and sculpties in 3ds Max
http://liferain.com/downloads/primcomposer/

Hierarchical Prim Archive (HPA)
-- HPA is is a fully-documented, platform-independent specification for storing and transferring builds between Second Life-compatible platforms and tools.
https://liferain.com/projects/hpa
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
05-14-2005 13:04
From: Shack Dougall
LOL I don't want to derail this discussion, but... :D

it would be really nice if we could get the coordinates for the touch as well. :D


Indeed, I agree. Either, or ideally both, as they have different applicability, and as discussed here:

/54/b0/44088/1.html

/esc
_____________________
http://slurl.com/secondlife/Together
Douglas Callahan
Fresh Prince Of SL
Join date: 2 Jul 2004
Posts: 349
05-14-2005 17:21
From: Eggy Lippmann
Using llDialog for output is kinda stupid and does force people to close a lot of boxes.
But for input, it's pretty good, since the box closes automatically when you press a button.
Without llDialog, you force the user to read through a manual and memorize commands.
Not my idea of usability, unless you're catering to hardcore CLI freaks.


yes, however you need to set up two listens(), one for channel 0 and one for the chat channel, because when users click a button two fast, often the script doesn't hear it, forcing them to type in a reply. This isn't that bad, but my main point was talking about llDialogs where the only button was OK, making them an annoyance.
_____________________
Other than that, Mrs. Lincoln, how was the play?
Flyingroc Chung
:)
Join date: 3 Jun 2004
Posts: 329
05-14-2005 21:57
Buttons (whether in a dialog or on a prim) are useful if you are presenting the user a set of discrete choices. However, there are many many kinds of data that does not lend itself well to buttons. If you want to input a numeric value for example, or some text, buttons are often not the best choice.

One useful method input is a wizard-style "conversation" with the user. The user activates, for example, a configuration system by clicking on the object; the wizard can ask a question via chat or IM -- something like: "What text should I display? For example, say 'Hello world!'". The user answers in the normal chat window.

A wizard interface also shares the advantage of dialogs in that it does not require the user to memorize commands or read a long manual.

Of couse for lag considerations it is important that the wizard starts to listen only when activated via a touch, and when the wizard is done, it closes the active listen.
_____________________
Try your luck at Heisenberg Casino.
Like our games? You can buy 'em! Purchase video poker, blackjack tables, slot machines, and more!