Hallo. Eine Scene sieht bei mir so aus:
$this->cacheCode('[php]','<scene name="scene_Marktkirche_Winter2013" title="Marktkirche" onstart="" thumburl="panos/Marktkirche_Winter2013.tiles/thumb.jpg" lat="52.10492695" lng="9.35649991" heading="0.0">
<view hlookat="-142.471" vlookat="2.466" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/Marktkirche_Winter2013.tiles/preview.jpg" />
<plugin name="wechsel"
url="baum.png"
align="lefttop"
x="10"
y="50"
onhover="showtext(Weihnachtsmarkrtansicht);"
onclick="loadscene(scene_Marktkirche_2012, null, MERGE|KEEPVIEW, BLEND(2)); wait(BLEND);" />
<plugin name="gruen2"
url="gruen.png"
parent="mapcontainer"
align="lefttop"
x="170"
y="200"
keep="true"
onhover="showtext(Marktkirche);"
onclick="loadscene(scene_marktkirche_winter2013, null, MERGE|KEEPVIEW, BLEND(2)); wait(BLEND);"
/>
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3183" tiledimageheight="3183">
<cube url="panos/Marktkirche_Winter2013.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1536" tiledimageheight="1536">
<cube url="panos/Marktkirche_Winter2013.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="768" tiledimageheight="768">
<cube url="panos/Marktkirche_Winter2013.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/Marktkirche_Winter2013.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="-125.789" atv="3.058" linkedscene="scene_marktkirche2_winter2012" onhover="showtext(Marktkirche Hauptschiff,tooltip);" />
<hotspot name="spot2" style="skin_hotspotstyle" ath="141.332" atv="1.978" linkedscene="scene_stadtgalerie_winter2013" onhover="showtext(Stadtgalerie,tooltip);"/>
<hotspot name="spot3" style="skin_hotspotstyle" ath="-172.169" atv="2.115" linkedscene="scene_pferdemarkt_winter2013" onhover="showtext(Pferdemarkt,tooltip);" />
<hotspot name="spot4" style="skin_hotspotstyle" ath="-68.394" atv="-3.262" linkedscene="scene_hochzeitshausterasse_winter20123" onhover="showtext(Hochzeitshausterasse,tooltip);"/>
<hotspot name="spot5" style="skin_hotspotstyle" ath="-20.097" atv="1.971" linkedscene="scene_marktplatz_winter2013" onhover="showtext(Marktplatz,tooltip);" />
<hotspot name="spot6" style="skin_hotspotstyle" ath="-46.033" atv="-0.377" linkedscene="scene_diedreidamenwinter2013" onhover="showtext(Osterstrasse/Marktplatz,tooltip);" />
</scene>')
Wie kann man, bei einem Scenenwechsel alles "zurücksetzen"... Sprich die beiden Plugins soll in anderen Panos nicht mehr aktiv sein...
Danke Tobi
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tourer« (9. Februar 2013, 21:11)