Set Attribute
Last updated
Last updated
A detailed explanation of controls and interface functions is described in the section State Machine Builder User Interface.
Within the edit Simulation section of the HyperSkill Desktop application, navigate to the State Machine tab.
Click on the desired state and from the dropdown in either the entry or exit actions select the type Set Attribute.
Press the + button to add the state to the action list
With an attribute selected, the Value field will be able to be entered. This Value will try to automatically fill itself out with a suitable attribute based on the attribute type. For example, types of Boolean will fill in True. This Value is entered as a string regardless of type.
Specifically, for the Snapped attribute the syntax is <VO Name>.<Hitbox Name> where the VO Name is the string given when selected with the selection tool.
Select an entity with the dropdown. This will be populated with every VO and VP in your space.
From your selected entity, select the Attribute from the dropdown. This will become selectable after you have selected an entity. The list will populate with every Attribute that currently exists on the selected Entity.