Hello,
I'm trying to define the image for a new scene without having to write a list of every cube image. I've tried to use an action with a parameter for the path but it doesn't work.
ZitatAlles anzeigen
<action name="setimage">
<image type="CUBE">
<left url="%1.tiles/pano_l_0101.jpg" />
<front url="%1.tiles/pano_f_0101.jpg" />
<right url="%1.tiles/pano_r_0101.jpg" />
<back url="%1.tiles/pano_b_0101.jpg" />
<up url="%1.tiles/pano_u_0101.jpg" />
<down url="%1.tiles/pano_d_0101.jpg" />
</image>
</action>
<!-- -----------------------------------scene 1----------------------------------- -->
<scene name="scene1"
onstart="action(setimage, Assets/Images/Pano/View_1);">
<!-- -----------------------------------scene 2----------------------------------- --><scene name="scene2"
onstart="action(setimage, Assets/Images/Pano/View_2);">
Can anyone give me an idea how to acheive the desired result?