Graf Zahl wrote:That's due to the missing tagwait directly after the delay. If the lift is blocked the script waits 5 seconds and tries to move it up but fails because the first movement hasn't finished yet.
Ah, yes. I should have seen that. The platform's behavior suggested that there was a 'timing' issue, but it never occurred to me to have a TagWait right after the Delay.
The platform works as intended, thank you.
There's just one issue that I need to work out. Because the platform lowers into a "well", the player can get stuck under the platform if s/he crouches but does not immediately move out from under the platform. That's because crouching causes the platform to lower further, and that leaves insufficient room for the player to step out from the well.
I can solve this problem in one of 4 ways:
1. Get rid of the well, and make the floor under the platform the same height as the surrounding floor.
2. Make the platform a crushing one, so that the player dies rather than getting stuck.
3. Make the platform rise upon encountering an obstacle.
4. Not do anything about it and warn the player that s/he can get stuck.
I'm inclined to go with 2 or 3 (for purposes of realism), and will try them out. Hopefully I can work things out on my own, but if history is any judge .....