wait(load);
lookto(360,00,90,smooth(5,5,5),false);
wait(2);
loadpano(a2.xml,null,KEEPBASE|NOPREVIEW,BLEND(2));
I used this borrowed code to automate a multipano tour a while ago, but I can't remember what all the parameters do, particularly these in bold. (360,00,90,smooth(5,5,5),false); Clarification welcome!
JL