need help with some scripting

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

need help with some scripting

Postby jessebax129 » Fri May 14, 2010 12:50 pm

hi i am working on a safe and i want sort of box in a hole and when it's in the door is open and when it is out the door is closed, so something like this:
when the hole is colliding with the box scene.my.lock1 = 1 and when it's not scene.my.lock1 = 0
so when i pull the box out it has to get 0 and when it's in it has to be 1 (if its 1 the door opens and by 0 it is closed)

sorry for my bad description
jessebax129
 
Posts: 34
Joined: Tue Jan 05, 2010 6:32 pm

Re: need help with some scripting

Postby Kilinich » Fri May 14, 2010 4:53 pm

you can use lasers for that
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: need help with some scripting

Postby RA2lover » Fri May 14, 2010 6:46 pm

he was already caught by using a pirated algodoo on those forums :lol: so i think he wants a phun version
Jrv wrote:
TC42 wrote:Quite honestly, I didn't think anyone on 4chan has that good a use of grammar, spelling, usage, mechanics, ect.
But I've never been there, so I may be wrong.


GTFO newfgt
User avatar
RA2lover
 
Posts: 607
Joined: Mon Aug 31, 2009 8:43 pm
Location: Brazil


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 18 guests

cron