[quote name='ChibiJosh']Well, we were trying to get it to do the "one shot." All that was doing was delaying the start. I tried doing on/off and directional too, but it would either shut off or change directions if you got too far away from it.[/quote]
This is what I was talking about. I know exactly what you want to do, and what I described earlier is how you manage it.
The problem with the sensor switch is that if you move away from it, it will turn the sliding wall back to the
OFF position or moving back in the other direction depending on how you have it set.
Its kinda hard to describe in words but lets try again. This is assuming you want you wall to move to the right and that you are using a piston.
1. Create a magnetic key with a magnetic lock on top of it, separated by a single dissolve material. Think of it like making three of the same sized blocks on top of each other. On the top you have attached the key, the middle is made of dissolve, and on the bottom you have the mag switch. when the dissolve is destroyed, the key block falls down onto the switch block and triggers it.
2. Set the magnetic switch to control the direction of the moving wall.
3. Your wall should now be moving to the left, but since it is at its base position, it will seem like it is not moving.
4. Create a sensor switch.
5. Assign the sensor switch to the dissolve material between the magnetic key and the magnetic switch.
Here's what will happen.
Once you move within range of the sensor switch, it will dissolve the materials between the magnetic key and the magnetic switch and drop the key onto the switch. This will cause the wall to move in the opposite direction (i.e. begin to chase you).
The purpose of this, is that the sensor switch will only keep the wall moving will you are in range of the sensor. Doing it my way, once triggered, the magnetic lock and key will stay together no matter if you move away from the sensor switch or not since the material between them has been removed. Because they stay together, the wall will continue to chase you until the very end.
The only thing else you need to do is to make sure that the maximum length of your piston is the right size to go all the way to the end and that you make the time value high enough that it moves slow enough that you can actually succeed in getting past it.
Hopefully this makes more sense now.
And it does work as I have used that exact method to make the dogs chase you on my Prison Break level I made for my wife.
