Actions
Overview
Actions are the things a state does when it runs: showing a message, playing media, moving an object, changing an attribute, and so on. You add an action to a state from the State Machine tab in the HyperSkill Desktop application, using the entry or exit action dropdown and the + button. Each page below describes the settings for one action. For the general workflow, start with How to Author the State Machine.
Messaging, dialogue and AI
AI Chat: open, close and send messages in a 2D chat interface.
Change Character Prompt: change the prompt the AI Chat agent uses.
Reset Chat: return the AI to its state before any user input.
Run Agent: start an AI agent.
Display Message: show (and optionally speak) a message.
Speak: have a virtual person speak.
Switch Virtual Assistant: change which virtual person or voice is the virtual assistant.
Microphone: mute or unmute the user's microphone.
Feedback, scoring and progress
Add Feedback Log and Show Feedback Log: store feedback and display it later.
Quiz: ask a multiple-choice question.
Checklist: add or remove checklist items.
Leaderboard: record attributes for a leaderboard.
Set Attribute: set an attribute value on an entity.
Start Timer and End Timer: create, start and stop timers.
Wait: delay the actions that follow.
Go To Sim: offer the user a jump to another simulation.
Media and display
Display Image, Play Video and Open Link: show images, videos and links.
Play Audio and Spatial Audio: play sounds.
Transition Effect: fade the scene out and in.
Lighting Settings: change the simulation lighting.
Highlight: highlight an entity.
Cameras
Camera: add a camera and show its view on a monitor display.
Add a Follow Camera: follow an object at a set distance.
Objects and virtual people
Spawner: create entities in the environment.
Play Animation, Animation Controller and Animation State Transition: play and control animations and poses.
Particle Controller: play particles on an entity.
VCode Function: run a block-programming script attached to a virtual object.
Last updated

