Jump to content
3DCoat Forums

[Solved] if (Droplist X == Y && $DialogButton#1) How to ?


sir_AXE
 Share

Recommended Posts

  • New Member

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

Link to comment
Share on other sites

  • Carlosan changed the title to [Solved] if (Droplist X == Y && $DialogButton#1) How to ?

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...