When you use a script that uses the menu or switch function, is there a way to get rid of the cancel button from appearing in the dialog box options? I see a lot of scripts that have options that are scripted to say something like: Yes, No, and Nevermind. Sometimes Nevermind could actually be used to give an item back if you choose not to carry out the rest of the script. For example, a useable item that buffs you. Once you click it it disappears and starts a script that gives you have the option to use it or not. If you choose not to then you get the item back and the script ends. However, if the player clicks the cancel button in the corner instead of going to Nevermind the scripts just ends and they don't get the item back at all. There might even be a command that doesn't put the cancel button.
Question
Peopleperson49
When you use a script that uses the menu or switch function, is there a way to get rid of the cancel button from appearing in the dialog box options? I see a lot of scripts that have options that are scripted to say something like: Yes, No, and Nevermind. Sometimes Nevermind could actually be used to give an item back if you choose not to carry out the rest of the script. For example, a useable item that buffs you. Once you click it it disappears and starts a script that gives you have the option to use it or not. If you choose not to then you get the item back and the script ends. However, if the player clicks the cancel button in the corner instead of going to Nevermind the scripts just ends and they don't get the item back at all. There might even be a command that doesn't put the cancel button.
Peopleperson49
Link to comment
Share on other sites
2 answers to this question
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.