Frictional Games Forum (read-only)
Getting piston lever to rest at center - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Getting piston lever to rest at center (/thread-16160.html)



Getting piston lever to rest at center - Damascus - 06-15-2012

I'm making a puzzle that requires the player to interact with several "control_room_piston_levers" becoming stuck and unstuck, but these levers seem to be designed to remain in their up or down positions when they become unstuck. I'd like to make new levers that will spring to the center when they become unstuck like the "lever_simple" entities, but have no idea what variables I need to change. Can anyone help me out?


RE: Getting piston lever to rest at center - flamez3 - 06-15-2012

Try making a new one in it's place at 0


RE: Getting piston lever to rest at center - Damascus - 06-15-2012

Make a whole new lever in-game? That wouldn't really work since it would just automatically appear at center instead of moving, not to mention the script wouldn't be connected anymore.