New Member sir_AXE Posted November 1, 2018 New Member Report Share Posted November 1, 2018 Pretty new to scripting for 3d coat .Having trouble to get droplist selection working on click : AddDroplist("X","item1,item2,item3"); //Make a list ModalDialogOkCancel("",""); // Make UI , OK , Cancel if (Droplist X == Y && $DialogButton#1); // Do something when Y==item1 and OK button is pressed ??? Tried different ways , can't seem to figure out the correct syntax Quote Link to comment Share on other sites More sharing options...
New Member sir_AXE Posted November 1, 2018 Author New Member Report Share Posted November 1, 2018 Nevermind , Droplist uses integers , missed that in the manual int Export; //create var AddDroplist("Export","a,b,c,d"); //make list if (Export==0) //if 1st then suffix="_color"; 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.