Ue4. Help me

This is an easy method, but not the best.

  1. create an own game instance class

  2. go to project settings->map and modes

  3. set the game instance class to the new created

  4. Add a custom event to the game instance class (you need to put a delay after open
    level, because the level needs some time to load, otherwise the next code would instantly execute so that it wouldnt work.

  1. call the function when ever you want