Very simple if then question

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

Very simple if then question

Postby dsengere » Thu Oct 22, 2009 5:57 pm

Hi folks. I'm new to this whole Thyme scripting biz. All I want to do is have a motor be activated when an object is touched. How do I do this?

Thanks in advance!
dsengere
 
Posts: 12
Joined: Thu Oct 22, 2009 5:49 pm

Re: Very simple if then question

Postby Sniperkasa » Thu Oct 22, 2009 6:23 pm

(e)=>{whateveryouwant == something ? {If it is} : {if its not} }
If you have a question, have a dollar and call somebody that cares.
No really just PM me if you have a problem :)
User avatar
Sniperkasa
 
Posts: 493
Joined: Tue Sep 01, 2009 5:34 pm
Location: The bottom of a lake.

Re: Very simple if then question

Postby dsengere » Thu Oct 22, 2009 6:31 pm

I'm sorry, but I have no idea what that means. I'm new to this scripting stuff. How do you make a motor turn with code?
dsengere
 
Posts: 12
Joined: Thu Oct 22, 2009 5:49 pm

Re: Very simple if then question

Postby Sniperkasa » Thu Oct 22, 2009 6:45 pm

Check your PM, i sent advice.
If you have a question, have a dollar and call somebody that cares.
No really just PM me if you have a problem :)
User avatar
Sniperkasa
 
Posts: 493
Joined: Tue Sep 01, 2009 5:34 pm
Location: The bottom of a lake.


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 2 guests

cron