Download

Create complex arrays from file in the editor (not at runtime)?

Lets say I create a blueprint that features an array of strings.

When I create an instance of this blueprint, I want to populate the array with content from a text file. I don’t want to do this at runtime, but right now, in the editor. I want to do this once and then the content of that array to stay that way. And for each instance of the master blueprint I want to select a different text file somewhere in my project to populate the array with different content.

Is there a way to do this?

I imagined it would be something to do with the Construction Script, but it seems like that fires when the instance is created, at which point I won’t have selected the appropriate text file. Is this the kind of thing which can only be done at runtime?

> I don’t want to do this at runtime, but right now, in the editor

Does not compute

>but it seems like that fires when the instance is created, at which point I won’t have selected the appropriate text file

Why?

Elaborate on what you’re trying to do. Maybe we can find a better solution?