ScriptSpot

Forum topic · General Scripting

Prompt user for confirmation

By ce89 · 2012-02-21

Description

In javascript I would use the "confirm()" function to prompt the user either yes or no to continue. Thus taking away away the worry of accidently pressing the wrong button.

I have searched the docs but cant seem to find anything similar in maxscript?

Any help would be much appreciated.

Comments (2)

fajar · 2012-02-22

messagebox, querybox...u can use query box...or yesNoCancelBox methode....search in maxscript reference...type messageBox in index.

ce89 · 2012-02-22

Thanks fajar,

I was always looking for confirm/corfirmation and not "query" or "yes and no".

Thanks again.