This could be used to allow the player to enter their own name, which is then used in the game.
 
This could be used to allow the player to enter their own name, which is then used in the game.
 
If the player presses cancel then this function will return a zero-length string.
 
If the player presses cancel then this function will return a zero-length string.
Use this function in the expression field of a set variable action.
+
This function should be used in the expression field of either a "set variable" action or a "set property" action.
 
* Do NOT use directly in a restriction. If you need to do this then call PopUpInput in an action which stores the result in a variable, and then execute a system task (with another action) which checks the variable with a restriction.
 
* Do NOT use directly in a restriction. If you need to do this then call PopUpInput in an action which stores the result in a variable, and then execute a system task (with another action) which checks the variable with a restriction.
    
'''Example'''
 
'''Example'''
  
Fatal error: Uncaught TypeError: MWExceptionHandler::handleException(): Argument #1 ($e) must be of type Exception, Error given in /homepages/17/d480683305/htdocs/w/includes/exception/MWExceptionHandler.php:153 Stack trace: #0 [internal function]: MWExceptionHandler::handleException(Object(Error)) #1 {main} thrown in /homepages/17/d480683305/htdocs/w/includes/exception/MWExceptionHandler.php on line 153