π₯ Condition
π₯ Condition
The Condition block allows you to create a logical referral by asking a closed question ("True or False?"). Depending on the answer, the story flow takes the true or false branch, allowing the player to be directed towards different narrative paths or actions.
This block is essential for implementing choice mechanics, condition checks or dynamic branching in an interactive scenario.
π₯ Entries
- in (Flow): Entry point of the flow where the condition is evaluated.
- condition (Boolean): Boolean value (True/False) determining the branch to follow. Can be connected to another block (e.g.: "Comparison", "List Contains") or defined manually via a check box.
π€ Outings
- true (Flow): Output activated if the condition evaluates to True.
- false (Flow): Output activated if the condition evaluates to False (default behavior if nothing is connected).
π‘ Example of use
Scenario: Access to a locked door
- The player finds a key in a room.
- The system checks if the player's inventory contains the key via a "List Contains" block.
- The Condition block is placed after this check.
- If the key is present (
true), the flow directs the player to a door opening animation. - If the key is missing (
false), a message "The door is locked" is displayed and the player must look for another solution.
βοΈ Technical Details
- Default behavior: If no condition is connected, the
falseoutput is automatically activated. - Optimization: For optimal performance, avoid nesting too many Cascading Condition blocks. Prefer alternative structures like the βChoiceβ block for multiple branches.
Updated on: 04/03/2026
Thank you!
