Hi !
I'm a beginner, so not sure to be at the good place to ask this, but...
On my current tour, I have a button that calls many "lookto" actions. This button allows user to see different things in the picture in a specific order.
My problem is that it's a bit too long for people who already saw it once. So I would like to completly stop all those "lookto" actions if user is doing anything with mouse, keyboard or touchscreen...
I found this "Stoplookto()" code but I don't know how to use it...
Inside my PTP xml files I have this :
|
Quellcode
|
1
|
<events name="autotourevents"onnewpano="autotouronnewpanoaction"onmousedown="autotouronuseraction"onkeydown="autotouronuseraction"keep="true"/>
|
And this :
|
Quellcode
|
1
|
<action name="autotouronuseraction">if (tour_autotourenabled,resetautotourvariables(););</action>
|
So I tried to add "stoplookto()" like this :
|
Quellcode
|
1
|
<action name="autotouronuseraction">stoplookto();if (tour_autotourenabled,resetautotourvariables(););</action>
|
This doesn't work so I think I will need your help to understand how to use it correctly...
Thank you to show me the way :-)
Cyril