Jump to content

Scripted elevator only runs once

Recommended Posts


Loosely following a related tutorial, I created an elevator with top and bottom buttons, and the platform waits at the last position until the correct button is pressed (rather than a func_plat that always returns to start). This involved using func_static, ref_tag's, and two simple scripts with target_scriptrunner's. The elevator works great and successfully descends when I press one button and ascends when I press the other. However, this cycle only works one time.

Does anyone know why that might be? The tutorial I was following said that having count = -1 on the triggers would give it infinite uses so I made sure to include that (although I tried it without). The buttons are able to be used, still, but the elevator does not move.


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...