Hi Guys,
Im looking for a basic conclusion to my little dilemma - I don't have time to work it out! :(
<action name="s2">
looktohotspot(s2, 10, smooth(100,50,50));loadscene(scene2, null,MERGE,BLEND(1));lookat(38.45,80.01,100.34);wait(blend);lookto(0,0,100,smooth(100,100,100));)
</action>
I would like - "if the hotspot is in the panorama - look lo hotspot and then do all the above" looktohotspot(s2, 10, smooth(100,50,50));loadscene(scene2,
null,MERGE,BLEND(1));lookat(38.45,80.01,100.34);wait(blend);lookto(0,0,100,smooth(100,100,100));)
BUT - "if there isn`t a hotspot there - then just loadscene(scene2,
null,MERGE,BLEND(1));lookat(38.45,80.01,100.34);wait(blend);lookto(0,0,100,smooth(100,100,100));)
Without errors...??
Thankx all
PS - This bit works when there is a hotspot - but nothing when there is nothing (obviously) -
Zitat<action name="s1">
if(hotspot[s1].loaded, looktohotspot(s1, 10, smooth(100,50,50));loadscene(scene1, null,MERGE,BLEND(1));lookat(38.45,80.01,100.34);wait(blend);lookto(0,0,100,smooth(100,100,100));)
</action>