This does NOT use only setPlayerTransform nor addVelocity. This means it does not rely primarily on those two events. God damn it, learn to read fools.
Events it uses:
While I was in the toiletMotherloving happy now?One day, I was busy thinking about random crap when this idea came along. It uses relays, setColliding, setEventTimeout, setRendering, addVelocity (0 0 3), setPlayerTransform, onPlayerTouch, cancelEvents.
Relays- fireRelayUp such that the brick above appears for the player to go up.
onPlayerTouch:
1. w/ cancelEvents- So the brick disappears when the player stops touching it
2. w/ addVelocity- So it moves the player a little and the player automatically goes up onto the next brick (as how stairs automatically bring you up despite the ledge).
3. So the brick knows you're on it.
setColliding+setRendering- So you have something to stand on while you move up+So you can see the floor of the elevator (For looks.), respectively.
setEventTimeout- Prevent extreme noobery from constant button spamming.
setPlayerTransform- Puts the player in the shaft to prevent failure of entering the shaft and jamming you between the elevator floor and the first floor's ceiling.
How does it work:
A plate will start colliding, so it becomes your elevator floor. Upon touching, it will fire a relay to the next elevator floor to appear, and at the same time making you move slightly so that you move onto the next elevator floor through the game's built in "stair" registering. Upon leaving the original elevator floor, it will dissapear and uncollide, while the next elevator floor starts colliding and so on, making a vertical stair effect.
Screenshots:
Haha, none. The thing is kinda ugly and screenies won't show much and I don't feel like taking a video.
Save:
Test it yourself with the download. While in the elevator, DO NOT MOVE. DO NOT MOVE.