
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Umalo« (6. Mai 2014, 17:58)
Because your administrator has a phobia that's necessarily hacked residents from my country.... and nothing thought up as to limit full access) is not serious

Is there a way to look to a spot.
For the moment, we only can laod a scene.
I'd like to use the code :
![]()
Quellcode
1 looktohotspot(pointdevue1)
Thanks for your help.![]()
|
|
Quellcode |
1 |
onclick="if(linkedscene,loadscene(get(linkedscene),null,MERGE,BLEND(1)); wait(0); menu_close();,execute(); );" |
|
|
Quellcode |
1 |
copy(layer[%menu_0_out].linkedscene,group[menu].group[get(menu_item_2_change)].linkedscene); |
|
|
Quellcode |
1 |
if(group[menu].group[get(menu_item_2_change)].linkedscene,copy(layer[%menu_0_out].linkedscene,group[menu].group[get(menu_item_2_change)].linkedscene);,copy(layer[%menu_0_out].execute,group[menu].group[get(menu_item_2_change)].execute);); |
|
|
Quellcode |
1 2 |
<group name="menu_item_1" item_text="ʉۢ Menu item #01 " linkedscene="scene_01" /> <group name="menu_item_2" item_text="ʉۢ Menu item #02 long menu item name" linkedscene="scene_02" /> |
|
|
Quellcode |
1 2 |
<group name="menu_item_1" item_text="ʉۢ Menu item #01 " execute="showlog(true);" /> <group name="menu_item_2" item_text="ʉۢ Menu item #02 long menu item name" execute="showlog(false);" /> |
Ok I've found the solution.Hi,
Is there a way to change the menu position into the scene ?
I'd like to define by my own the position.
Thanks for your feedback.![]()
Open the "mune_bottom.xml" file.
Check line N°50 and change the value for "align".
Hope it help.![]()
attached,
Note: I placed hotspot in this xml. You should have them in your tour.xml
index.php?page=Attachment&attachmentID=1388
OR
Zitat
<group name="menu_item_1" item_text="1 - Point de vue remarquable 1" execute="load(Scene_1);looktohotspot(pointdevue1);set(autorotate.enabled,false);flyin(cible);delayedcall(5,action(cachercible1););tween(hotspot[pointdevue1].alpha,1.0)" />
But it doesn't work ...
Zitat
<group name="menu_item_1" item_text="1 - Point de vue remarquable 1" execute="looktohotspot(pointdevue1);load(Scene_1);set(autorotate.enabled,false);flyin(cible);delayedcall(5,action(cachercible1););tween(hotspot[pointdevue1].alpha,1.0)" />
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »kealkeal« (1. Juli 2014, 11:41)
How can I disabled this event when I click on the Item into my Group ?
Zitat
<events name="panoevents"
onloadcomplete="delayedcall(introimage, 2.0, if(layer[introimage], hideintroimage() ); ); set(events[panoevents].onloadcomplete,null);"
onremovepano="stopdelayedcall(introimage);"
/>
<layer name="introimage"
url="introimage.png"
align="center"
onloaded="set(alpha,0); tween(alpha,1.0);"
onclick="hideintroimage();"
/>
<action name="hideintroimage">
if(layer[introimage].enabled,
set(layer[introimage].enabled,false);
tween(layer[introimage].alpha, 0.0, 0.5, default, removelayer(introimage));
);
</action>