1. #1
    Senior Member Follow User Gallery
    Join Date
    Jul 2014
    Posts
    111

    Default Delete without confirmation

    Is it possible to add an automatic confirmation to a dialogue in a Zscript ? Something like this:

    [IButton, " DELETE ME " , "Deletes a subtool.",
    [IPress,Tool:SubTool:Delete, 1] // Autoconfirm = True
    ]

    The script above won't work, I'm just making a point:

    [IButton, " DELETE ME " , "Deletes a subtool.",
    [IPress,Tool:SubTool:Delete]
    ]

    However, the second one deletes a subtool, but still needs confirmation. What I want is to NOT have the confirmation dialogue, it deletes the subtool automatically WITHOUT having to have already pressed the never ever ask for this dialogue ever ever again till next time button?

    Is this possible or just plain krazy?

  2. #2
    Senior Member Follow User Gallery
    Join Date
    Feb 2015
    Location
    Paris
    Posts
    263

    Default

    [IKeyPress,'1',[IPress,Tool:SubTool:Delete]]
    this gonna take the first choice
    [IKeyPress,'2',[IPress,Tool:SubTool:Delete]]
    second choice etc..

    Plugins & Toolsets for Zbrush 4R8 : zCycler Pro | Plugin Manager |Matiere 3d | Twitter | @Facelessmindz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •