Skip to reading
New Features Workbook: 35 Hands-on Lessons

Use a story fact in more than one designer

Edition 0.86.4.7

37-page workbook using example workbenches included with the Studio release. The separately attached PDF is byte-identical to this ZIP copy and is included once.

Download PDFView PDF page

Write choices and ordered actions

STUDIO 0.86.4.7 • LESSON 11 OF 35

Use the same kind of condition in a dialogue choice and an If Variable branch. Each designer stores its own rule, so review both if the puzzle changes.

1. Choose the fact you need

In Conditions… open the condition-kind picker. You can test a variable, an inventory count, a quest or objective, the active room or player, and whether a particular choice has been read. Select the referenced record by its ID. For an inventory check, choose the item and compare its count with a number.

2. Combine it with the scene

For a letter puzzle, use an and group with inventory_count for the letter, gte 1, and an active_room condition for the intended room. Test with and without the letter. Test the wrong room too. If the item ID is missing, repair it before relying on NOT or combining it with another condition.

3. Use the outcome at the right place

On a dialogue option, a false rule hides the reply. In an action sequence, If Variable sends a valid true result to Then and a valid false result to Else. An invalid reference can produce a checked failure in a sequence. Decide whether the surrounding list should stop or run recovery actions.

WHAT TO CHECK

Enter with the letter and confirm the reply and action both become eligible. Remove the letter and try again. If one route still succeeds, inspect both authored conditions and check their individual targets.

Page 13 of 37Permalink
Go to page