Multiple if, if statments.

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

Multiple if, if statments.

Postby Dadasas » Thu Nov 05, 2009 2:40 am

Is it possible to have a if statment that has multiple things that must be true to do the rest?
If so how, it's really important to this thing I'm making.
User avatar
Dadasas
 
Posts: 46
Joined: Tue Sep 01, 2009 2:03 am

Re: Multiple if, if statments.

Postby standardtoaster » Thu Nov 05, 2009 2:48 am

You can use && to check if multiple things are true/false or use || as or.
User avatar
standardtoaster
 
Posts: 606
Joined: Mon Aug 31, 2009 7:57 pm

Re: Multiple if, if statments.

Postby Dadasas » Thu Nov 05, 2009 3:05 am

Thank you! This is exactly what I wanted, now I can finish my scene! :D
User avatar
Dadasas
 
Posts: 46
Joined: Tue Sep 01, 2009 2:03 am


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 2 guests

cron