Logic Machine Forum
use scene.savelive - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: use scene.savelive (/showthread.php?tid=4726)



use scene.savelive - giuliab - 21.04.2023

Hi, how i can use scene.savelive for give the possibility to the user to change a scene.

I have already try to use scene.savelive in a script but dosen't work.


RE: use scene.savelive - RomansP - 21.04.2023

Hi. You need to create scene, then add objects which are controlled by scene. Then create one binary object save.savelive the values of scene objects, do not forget to add quotes to name of scene, like if you have scene named - example_scene, then the script of binary object will be scene.savelive('example_scene')

Code:
  scene.savelive('example_scene')