ent_create("ship.mdl", vector(0, 0, 0),move_ship);

also, put the action move_ship above main.