E2. Vary a repeated greeting
For small variations, a text field can contain alternatives separated by a special marker. This is useful for short, unvoiced greetings or incidental comments.
| Marker | Behavior | Example |
|---|---|---|
| @||@ | Cycles through alternatives in order on successive calls. | Hello again.@||@Back so soon? |
| @//@ | Chooses an alternative randomly on each call. | A cold day.@//@Looks like rain. |
1. Put Hello again.@||@Back so soon? in a short Line.
2. Test that Line, end the conversation and start it again in the same running game.
3. Check that the displayed alternative changes, then cycles back.
4. Try the random marker separately. A random selection is allowed to repeat the same sentence.
Text alternatives change the wording. They do not replace story conditions, prevent a reward from repeating or create separate response histories. Use variables and real branches when the game state matters.
For recorded performances, separate Line nodes with the appropriate recording are easier to manage than assuming the text-alternative marker also selects a matching voice file. Keep the shown words and audible performance aligned.
Keep the marker intact during translation and use one alternative style in a field. Test sequential wording within one running session; a fresh Test Dialogue preview starts fresh test state.
