Skip to main content

Trigger Showcase

This showcase focuses on triggers.

Trigger

The robot will react to the player entering each area. Each area is a BP_TriggerBox_SendTrigger that will send a trigger to the robot corresponding to the area entered by the player.

Trigger Box Custom Event

In Inworld Studio, this character has a list of goals corresponding to these areas. Each goal will have the robot declare that they are going to patrol the respective area. In addition to this, a trigger will be sent.

goals:
- name: "motion_area_a"
repeatable: true
activation:
trigger: "motion_area_a"
actions:
- send_trigger: "motion_area_a"
say_verbatim: "Motion detected in Area alpha. Moving out!"

The robot has a BP_InworldMoveToTargetOnTrigger component that will react to the trigger.

Move to

Custom Trigger