The topic says it all really. I am just trying to figure out how to get the dialog box to pop up again or stay when something is selected within it. I've gotten to the point where I got it to do the desired results after a selection. But I just find it a bit annoying/tiresome that I have to keep clicking the object to open the menu dialog again.
This is the script that I found on some video, that works well with what I am trying to do, but again the issue I am coming across is that I want the dialog box to reappear/stay after a selection is chosen. I've tried searching on the web, but I don't find much clear concise information (or at least something that I can understand fully) on the matter. So I decided to come here for some help...
Here's the script I've found in a tutorial video...
--------
integer dialogListener;
default
{
touch_start (integer total_number)
{
dialogListener = llListen(100, "", "", "");
llDialog (llDetectedKey (0), "Choose an Option:", ["1", "2", "3", "4"], 100);
}
listen(integer channel, string name, key id, string message)
{
if(channel == 100) {
if(message == "1") {
llSay(0, "Option 1");
} else if(message == "2") {
llSay(0, "Option 2");
} else if(message == "3") {
llSay(0, "Option 3");
} else if(message == "4") {
llSay(0, "Option 4");
}
llListenRemove(dialogListener);
}
}
}
---------
Again, the script works well what I am trying to implement in, it's just that I want the dialog to stay/reappear is all.
Any and all help will be very appreciated, and please remember that I don't know much about all the scripting lingo. So please make it as easy as possible, thanks! x3