Logic Machine Forum
Save Scene Values via script - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Save Scene Values via script (/showthread.php?tid=1330)



Save Scene Values via script - savaskorkmaz - 05.04.2018

Hi,

I want to create a button in the visualation which will trigger save live values of a scene. For example ;

Name of the Scene : wellcome
Object for the saving values : 40/1/10 (A virtualpoint)

When i change value of 40/1/10 via visualation, an event script located in  40/1/10 will trigger save live values of wellcome scene.

Can you write a script for this example please ?

Regards,


RE: Save Scene Values via script - admin - 06.04.2018

http://openrb.com/docs/lua.htm#scene.savelive
Code:
scene.savelive('my scene name')