Be patient, it is verry hot out here.
Make a lift in WED, set the floor at its origin (the green lines) and save it as a map entity.
Load it back into your level and make the following script in SED;
var Floor1=0; // or whatever the lowest point of the elevator is.
var Floor2=200; // or whatever the highest point is.
action lift_act
{
my.z=Floor1; // start at lowest point
while(me!=null)
{
if(key_d && my.z>=Floor1)
{
my.z-=5*time;
}
if(key_u && my.z<=Floor2)
{
my.z+=5*time;
}
wait(1);
}
}
Attach the action to the lift.
Build your level.
Run your level.
Press u, lift goes up.
Press d, lift goes down.
Regards,
Frits