Login
Remember
IF Answers
Ask a Question

# How to output multiple messages without allowing actions in between?

0 votes
35 views
asked Aug 20 in Authoring by anonymous
edited Aug 22

I would like to make some parts in my game have long conversations happening. I would like it to print the conversation divided into parts and waiting for a keypress between them, but it's obviously important that the player can't type commands until the entire conversation is finished. Is there a way to do that in inform?

- inform7

## 1 Answer

0 votes
answered Aug 21 by bg (692 points)
Best answer

If it's just a matter of wanting to print text with keypresses in between sections, you can use Basic Screen Effects by Emily Short, which allows you to use the "wait for any key" phrase:

    Include Basic Screen Effects by Emily Short.

    Place is a room.

    Instead of listening:
        say "You can hear them talking in the next room....";
        wait for any key;
        say "'Hi,' says Sally.";
        wait for any key;
        say "'Hey,' says Joe.";
        wait for any key;
        say "'So...' says Sally.";
        wait for any key;
        say "'Um...' says Joe."

Not sure if that will work for what you have in mind or if there was something fancier you were going for w/r/t conversation.

## Related questions

- How do you use a hyperlink to paste text without (in effect) pressing enter? (Flexible Windows, Inform 7)
- How do I organize events / sets of actions to execute when play begins?
- How to show window background color in Quixe: background color property or text background? (Flexible Windows, Inform 7)
- How to make relations and states in Inform 7
- How can I prevent appending (open), (closed) etc. to an object in Inform 7?

...