Level Blueprint Communication
Unreal Engine has a special type of Blueprint called Level Blueprint. Each Level of the game has a default Level Blueprint. They are useful for creating Events and Actions that only happen at the current level. To access the Level Blueprint, click the Blueprints button at the toolbar of the Level Editor and choose the Open Level Blueprint option, as shown in the following screenshot:
In the Level Blueprint, we can easily create references to Actors that are on the Level. To see this in practice, let's create an example where Box Trigger is added to the Level. When an Actor overlaps the trigger, Blueprint_Effect_Sparks is activated, producing the effect of a spark:
- Create or use an existing project based on the Third Person template with the starter content.
- In the Level Editor, click the Create button located on the toolbar. In the Basic category, there is a Box Trigger...