|
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
|
03-26-2006 14:52
If I want to use OPTION instead of TOMENU at the top level on my menu, how is that read in the script since there is no TOMENU name to use? if (str=="|Stay") llWhisper(0,"OK, I will stay here.");
as opposed to: if (str=="STAYMENU|Stay") llWhisper(0,"OK, I will stay here."); In the Menu text notecard: From: someone MENU MYMENU TEXT Select your canvas background: TOMENU MGOMENU Just go OPTION Stay MENU MGOMENU OPTION Go
See the OPTION for 'Stay' is in the top level menu. So I do not understand what to put in that space before the |
|
|
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
|
03-28-2006 07:30
hip
|
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
03-28-2006 07:37
This looks like some sort of custom menu script to me - no idea how it works....
|
|
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
|
03-28-2006 13:46
What I am asking is if when that first menu comes up, and you do not want it to go to yet another menu, but you want to take an action in the script when a button is clicked on the first menu...there is nothing in the WIKI to reference that. From the WIKI: The "menudefs" notecard: MENU DEFAULT TEXT Change which parameter of the prim? TOMENU MCOLOR Color TOMENU MSIZE SizeOPTION Position MENU MCOLOR TEXT What color should it be? OPTION Red OPTION Green OPTION Blue MENU MSIZE TEXT What size should the prim be? OPTION Normal OPTION Double See where I put that OPTION Position? On the script the other menus below it would look like this (from the WIKI):
if (str=="MCOLOR|Red") llSetColor(<1,0,0>,ALL_SIDES); if (str=="MCOLOR|Green") llSetColor(<0,1,0>,ALL_SIDES); if (str=="MCOLOR|Blue") llSetColor(<0,0,1>,ALL_SIDES); if (str=="MSIZE|Normal") llSetScale(<0.5,0.5,0.5>); if (str=="MSIZE|Double") llSetScale(<1,1,1>);
How do I get the OPTION in the top menu to read in the script since there is no MMenuname to relate to it?
if (str=="???????|Position") llSetColor(<1,0,0>,ALL_SIDES);
There's no menu to reference. I tried the actual menu name of the notecard, but that didn't work. I am trying to figure out if this is not mentioned in the WIKI b/c that top level menu was meant only as a lead to secondary menus, or if there is a way to put an option on that first menu.LOL 
|
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
03-28-2006 14:48
Right, this seems to be referring to a script somewhere that reads a notecard and generates menus based on that notecard (apparently). That's not a script I know. If I want dialog menus, I write them myself.
The thing is, this is not a standard way of generating menus - this is just one person's way of doing so, by their own methods. I can't tell you how they wanted to do it just like that. There are literally billions of different ways they could have done it.
If you've got a link to the original script then please post it, but otherwise you'll have to wait for somebody who's familiar with the script you're talking about to come along.
|
|
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
|
03-28-2006 17:14
|