Announcement

Collapse
No announcement yet.

Level Properties

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Level Properties

    Hi!
    I need to store and retrieve variables that are specific to a level: for example, latitude and longitude.

    What is "the right way" to do this in UE4?

    Ideally, I would define variables in a level blueprint and pass instances of these variables in the constructor (maybe reading them from a config file). Later, I would access the values that I need by going through the level instance.

    However, I am having trouble trying to implement this setup: accessing the level blueprint from the level window seems clunky and I can't figure out how to get the current level instance within blueprints.

    Care to give some suggestions? Thank you!
Working...
X