Instead of using regular loadscene you can use your own loadscene action. E.g.:
|
Source code
|
1
2
3
4
5
6
7
|
<action name="your_load_scene_action">
<!--set(tour_time,morning);
set(tour_floor,oak); -->
txtadd(scene2load,%1,'_',get(tour_time),'_',get(tour_floor));
<!--trace(get(scene2load)); -->
loadscene(get(scene2load),MERGE,BLEND(0.5));
</action>
|
In this case take care to set variables tour_time and tour_floor correctly.
If you are using system where each hotspots is having linkedscene attribute use it same way but calling your action. Hotspot style example:
|
Source code
|
1
|
onclick="if(linkedscene, skin_hidetooltips(); tween(scale,0.25,0.5); tween(oy,-20,0.5); tween(alpha,0,0.5); looktohotspot(); your_load_scene_action(get(linkedscene)); skin_updatescroll(); );"
|
regards
Umalo