Skip to content
1.0 · DemoSample product content

Quick start ​

Build a sample scenario that targets a door and changes its state with one action. The terms here are conceptual, not node names from a real plugin.

1. Set the initial state ​

Start with the door closed and no interaction label visible. Do not offer an action until the player looks at a valid target.

2. Select the target ​

Show Open door when a valid target is selected along the player's view direction. Clear the previous label whenever that target is lost.

3. Execute the action ​

text
Receive input
  → Is the target still valid?
  → Are range and conditions satisfied?
  → Change the door state
  → Refresh the interaction label

After the door opens, change the label to Close door. Keep the label consistent with the object's current state.

4. Check the result ​

  1. Confirm one input changes the state only once.
  2. Look away and verify that no action is offered.
  3. Look back and confirm the updated label appears.

A QUICK CHECK

If the action works but the label does not change, check whether the view reads the current state before changing input logic.

Continue to Interaction workflow for a closer look at each stage.

Multiple products. One knowledge base.