Frictional Games Forum (read-only)

Full Version: Getting piston lever to rest at center
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Try making a new one in it's place at 0
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.