Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a lever move an entity
Hooumeri Offline
Member

Posts: 57
Threads: 11
Joined: Oct 2010
Reputation: 0
#1
How to make a lever move an entity

Hey. I'm trying to make a lever (which I'm calling "bridge_lever_1") to move a pig hanging from a chain ("bridge_metal_vert_1") on the Y axis. I want the pig to move down on the Y axis when the lever is being pulled down, and the pig to move back up when the lever is moved up.

I tried to make the script by using the cistern entrance bridge script, but I coulnt make it work.
Could someone expierieced tell me how I should make the script, please.
10-23-2010, 09:21 PM
Find




Users browsing this thread: 1 Guest(s)