When you stand on the pressure plate, the plate will be pushed down. Once you get off the pressure plate, the plate will go back up, THIS TIME with spikes on it. The spikes will only last 2 seconds, and then it will revert back to the spikeless pressure plate.
I've been trying to do this for hours, I just can't figure it out, I need a bit of guidance.
I have three sprites. The default pressure plate, the pushed down pressure plate, and the spiked pressure plate. In that order, we'll call them "Default", "Down", and "Spiked".
When the player stands on the plate, and it's playing "Default", we'll change it's animation to "Down".
When the player is off the plate, and "Down" is playing, we'll change it's animation to "Spiked".
If the pressure plate is currently playing "Spiked", wait 2 seconds and then play "Default" again.
I'm not going to bother going into what problems I'm having, because there's too many to count. Please, please, please, if you can, create it from scratch and provide a Capx for me.. It's pretty simple, but I just can't seem to figure it out.
I would greatly appreciate it. (Please add comments if you can too). If you need to know, the spikes kill the player instantly. Thank you very much in advance.