Dungeon Streaming Chunk Callbacks

Snap based dungeons allow you to stream individual room levels in, based on their distance. Sometimes, you’ll need callbacks to get notified when this happens.

Any actor inside the room chunk level can be notified of these events.

To do this, create a blueprint actor and in the Class Settings, add the Dungeon Streaming Chunk Event Interface

image

image

This will give you access to a list of events that you can hook on to and execute your custom code on

image

If you want global hooks, grab it from the level streaming model like this:

NOTE: Build the dungeon after binding to the events, (the pic above builds it before binding, so you might miss some initial events)

The Chunk input pin gives you access to all the actors in the room chunk