How to make a lever move an entity - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: How to make a lever move an entity (/thread-5167.html) |
How to make a lever move an entity - Hooumeri - 10-23-2010 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. |