Hi there.
I've gotten two scene in an project.
----- Scene 1----
Scene1 is called "_Settings" and had got multiple text objects.
Withing these object I save my data. For example the location of the files, and where the project is saved.
"Textobject1" is called Projecturl
"Textobject2" is called ImageDirectory
----- Scene 2----
in Scene2 (and multiple other scenes) I want to use the data which is saved in scene 1, So I can replace it on my code.
How can I import the settings from the first scene and use it to locate my files?
Dim txt as xpTextObject
Dim Projecturl as xpTextObject
Dim ImageDirectory as xpTextObject
Dim material as xpmaterial
Dim obj as xpbaseobject
Dim shad as xpBaseShader
If txt.Text = "Purple" Then
material.GetShader(0, shad)
shad.SetFileName(Projecturl + ImageDirectory "Video\DLS\Purple.avi")
Else if txt.Text = "Blue" Then
material.GetShader(0, shad)
shad.SetFileName(Engine.ProjectPath.ToString + "Video\DLS\Blue.avi")
End if