Open egyptthecreator opened 2 weeks ago
premek's answer is the correct one.
The way I'd typically do something like this would be to create an external function (of the "action" variety - i.e., not lookAheadSafe) which then is bound to code that will pop up an edittext dialog. You'll have to stop the story flow, of course.
Once the dialog has been closed, extract the chosen name from the dialog, set the name variable in your Ink story, and then continue processing the story.
Discussed in https://github.com/inkle/ink/discussions/914