Its a model in the WED, set with the polygon flag. And its name is Door. This action is called after I pressed the button. I tried and I get the pointer to the entity. I figured when I add the action to behaviour its just like it should work.
action OpenDoor()
{
ENTITY* Door= ent_for_name ( "Door" );
var a;
for ( a = 0; a < 300; a++ )
{
Door.y -= 0.4;
}
wait(1);
}