{ scene.my.X } in motor Help

About advanced scenes, and the Thyme scripting language used in Algodoo.

{ scene.my.X } in motor Help

Postby docg » Fri Mar 12, 2010 4:14 am

How do i save{ scene.my.XXXXX } in my motor cause it always disappears after a test
Last edited by docg on Sat Mar 13, 2010 10:28 am, edited 1 time in total.
docg
 
Posts: 17
Joined: Thu Nov 12, 2009 12:31 am

Re: { scene.my.X } in motor Help

Postby Mr_Stabby » Fri Mar 12, 2010 1:54 pm

u dont, wether it disappears or not depends on luck as its a known bug (rumored to be fixed in the next version), right now the only way to be sure is to spawn the motor with a script when scene starts
Mr_Stabby
 
Posts: 155
Joined: Wed Dec 16, 2009 12:16 am

Re: { scene.my.X } in motor Help

Postby docg » Sat Mar 13, 2010 10:28 am

And How do i do that
docg
 
Posts: 17
Joined: Thu Nov 12, 2009 12:31 am

Re: { scene.my.X } in motor Help

Postby Mr_Stabby » Sat Mar 13, 2010 11:07 am

tricky, you either need to spawn the whole scene or grab geomIDs of the objects you want via new method. I did the same for the spring in this scene
Rating: rated 5
Filesize: 26.79 kB
Comments: 0
Ratings: 1
download
just pay attention to the initial little bump when you take pause off
Mr_Stabby
 
Posts: 155
Joined: Wed Dec 16, 2009 12:16 am


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 8 guests