Recently, to refresh my memory on how $SWITCH and 4casE worked in DC, I was looking through one of my talk.bin files (the text version) and thought to myself for the umpteenth time that we could really use a Listen Event that did essentially what the th $LISTEN function does.
The event, as I imagine it, would be like the Password Event, but instead of comparing what the player typed with a predetermined string, it would accept any string and store it in an ASL that would be named by the designer when they placed the event. The designer could then use this ASL any place in the design that an ASL can already be used.
Designer wants to know the PC's mother's name to use it to spice up the gameplay.
Textbox in event:
"Hey dude, I was wondering what your mom's name is?"
Button/dialog to name ASL:
Standard dialog for image:
The player sees the text in the textbox just like in a Text Statement event and then a place to enter text just like for a Password Event. When the player hits enter to input the text string, the engine sotres it to the predetermined ASL.