Get_passcode - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
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.
Parameters
Parameter | Data Type | Description |
---|---|---|
str | string | the message of the dialog |
def | double | the default value to put in the dialog |
Return Values
double: Returns the value entered into the dialog.
Example Call
// 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