...

you have 5 stop-positions (can be varied).
var gc_elestop[5] = 0, 200, 400, 600, 800;

The Property ._destination is set to the wanted destination and the moving is activated by setting the flag ._moving=on.

You want to level 3? ent_elevator._destination=3;ent_elevator._moving=on;

time: use time to have a universal gamplay (meening of time).
time*speed_constant is a factor and will just vary the speed of the animation. (Warks also with A5).

mercuryus