Events

When you extend the use of SkyReal with Blueprints you quickly need to trigger actions with events such as controllers inputs, user actions, user position, ...

This events are necessary to trigger actions like displaying messages, starting animations, changing materials, ...

Here is a list of common events:

Standard events

Event Description
all_v1.11_skyreal_experience-customization_event-beginplay Event triggered once at the very beginning of the experience.
all_v1.11_skyreal_experience-customization_event-tick Event triggered all the time, at every tick. The interval between two ticks is the Delta Seconds variable.

Controllers inputs

This events exists for both hands.

Event Description
event pie menu Pie menu button pressed.
event grip Grip button pressed (button inside the controller, under the middle finger).
event select Selection button pressed.
AxisRightController_X Joystick moved on X axis (transversal). You get a value between 0 and 1.
AxisRightController_Y Joystick moved on Y axis (forward). You get a value between 0 and 1.

You can also use keyboard inputs. Type the input letter to find the event.

Parts interactions

You can add specific events for every parts you can access from your blueprint (using variables of type Skr Part). These events are accessible in the Details tab of the variable.

all_v1.11_skyreal_experience-customization_actor-events

The most useful events are:

Event Description
all_v1.11_skyreal_experience-customization_event-begin-overlap Event triggered when another actor begins to overlap. Can be used to determine user position.
all_v1.11_skyreal_experience-customization_event-clicked Event triggered when the actor is clicked with a mouse.
WARNING: It doesn't work with lasers

Custom events

You can bind actions to specific events using a custom event.

custom event binding

Unreal events

Event Description
bind to on clicked Your custom event is executed any time the part connected to the target pin is clicked.
bind to on controller ready to use Your custom event is executed any time the part connected to the target pin overlaps with another part.

SkyReal events

Event Description
bind event to on is in VR status changed Your custom event is executed any time you enter or quit VR in SkyReal.
bind event to on feature is snapped Your custom event is executed any time a part is snapped to its feature in SkyReal.
bind to on controller ready to use Your custom event is executed when the skr controller is ready to use. It is necessary to use the skr framework controller. see SDK page for further information.
bind event to is world changed Your custom event is executed any time a user swaps between Visible/Hidden/Trash worlds.