Download

Triggering event on level load

Hello,

I’m creating a game that has a very large play area so I’d like to be able to spawn enemies as the player scrolls through the levels and divvy up the game into portions to stream.

I got custom events to work on the same UMAP and event dispatchers to go from enemies to level blueprints but I could not copy this Blueprint Quickie for using an Event Dispatcher to go from 1 level blueprint to another.

Is there a way to trigger events when that level gets loaded or unloaded?

Thanks!

I sorta solved this putting triggers on the edges of Streaming Volumes, but if I adjust the Streaming Volume size, I’ll have to move the triggers too. I’d rather not resort to that if I can help it.

Note to self: make sure streaming volume is placed where the camera goes, not the player. Hurp.