in a dream with scenes linked how do i make a variable save to the scene itself and not passable to other scenes.
im making a game but i want each scene to use the same 5 variables but for each one to remember the number for the level that its in but not to link to the same variable in other levels.
basically 5 variables per level but the number only saves to the scene and not the dream, i wanna reuse variables per level because i dont wanna use 50 or some variables to do the same job
in the variable if i turn on persist dreams option then it will remember the number as if it was saved to level 1 but then it will also pass the number to level 2 due to same variable... i wanna prevent that but for the variable to save the number to the dream its in
-
I don't think there's a way of doing this. You'd have to make unique names for all variables in one scene, and then unique names for all variables in a different scene, that kind of thing.
Out of interest, why do you want it to work this way? What effect are you making with it?
댓글을 남기려면 로그인하세요.