Download

Finding Variable by Name

Hello,

So I’m currently trying to select the approriate array based on a variable - scene number. I want to load the dialogue array relevant to the current scene value. I could achieve this with a lot of nested branches, but I thought a more efficient method would be to concatenate the scene number to ‘SceneText’ and then fetch the correct array from there. However, I cannot find a way to locate a variable (or array in this case) by name. Any help would be greatly appreciated!