Frictional Games Forum (read-only)

Full Version: lever move by itself?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Guys,

I was wondering if it was possible to get a lever to move by itself, like actually seeing a lever get pull downed without you doing it yourself?
Maybe AddPropImpulse/Force can to it?
(07-23-2012, 07:19 PM)beecake Wrote: [ -> ]Maybe AddPropImpulse/Force can to it?
It works, but only sometimes. On the times it doesn't do it, it looks like the lever just twitches. I used addpropforce and set the y cordinates to -32000, so it goes down. How do i get it so the lever comes down everytime?
I dont know... How about using prop impulse... I guess those high numbers are pretty hard to go with...
Set the stuck state for the lever.
What do you mean by "so the lever comes down everytime?"
I assume you mean that you want it so it comes down evertime you enter the room.
if so use AddEntityCollideCallback and set the int variable at the end to 0