-
Notifications
You must be signed in to change notification settings - Fork 0
Get_passcode
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Displays a message box asking the user to input an integer value and returns the value they entered. The characters in the textbox will be hidden by black circles or asterisks, depending on the platform or widget system.
| Parameter | Data Type | Description |
|---|---|---|
| str | string | the message of the dialog |
| def | double | the default value to put in the dialog |
double: Returns the value entered into the dialog.
// demonstrates asking the user to input a passcode integer
var count;
count = get_passcode("Enter a passcode number to unlock all levels in level select mode:", "0");
NOTOC
This is number 1