Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Author the Chat Box in a simulation

This page walks through adding Chatbox actions to a state. For the settings of each action, see also AI Chat. A detailed explanation of controls and interface functions is described in the section State Machine Builder User Interface.

  1. Within the edit Simulation section of the HyperSkill Desktop application, navigate to the State Machine tab.

  2. Create a “Chatbox” state action and select the state to open up the details panel located on the right.

  1. Select a Chatbox action from the dropdown provided:

  • Set Data sets the avatar picture and voice of an NPC, or of the player.

    • “Is Player” designates whether the data being set is the player's.

    • “Name” appears when Is Player is false and designates which NPC is changed.

    • “Voice” lets you select from a subset of voices used when a message is spoken.

    • “Profile Picture” lets you select an image from your media library as the NPC's profile picture. Pictures should have a 1:1 aspect ratio to prevent distortion.

  • Input Message inputs a message that is shown as spoken by a third party or by the player.

    • “Is Player” designates whether the message is implied to be spoken by the player or by a third party.

    • “Name” appears only when Is Player is false and designates the NPC's name.

    • “Message” is the message that the system inputs into the chatbox.

    • “Speak” controls whether the system uses Text To Speech in combination with the text.

  • Input System Message inputs a message that appears as a system message.

    • “Speak” controls whether the system uses Text To Speech in combination with the text.

  • Open opens the chat box.

  • Close closes the chat box.

Last updated