Great !!
Thank's a lot Klaus
Great !!
Thank's a lot Klaus
Hi! Thanks, Klaus. I have already understood the principle of its operation. Waiting for the next release.
Awesome news, Klaus
Control of actions on command delayedcall and its identification - perfect!
Thank you Klaus!
Hi Klaus,
any news on the stop delayedcall?
LG
Nupsi
Hi,
yes - please see here:
https://krpano.com/news/#releasenotes116
krpano 1.16
https://krpano.com/docu/actions/#stopdelayedcall
Best regards,
Klaus
AWESOME I´m using the 1.16 already, but this cool little info seems to pass me.
Thanks
Nupsi
Hi Klaus,
I'm trying to select random scenes from a pano, all works well with a standalone tour however when I call the xml with the loadpano routine all delayed calls with an ID fail to mature; any idea what is wrong?
xml extract:
<krpano version="1.16" title="Saltdean Home" onstart="local_startup();">
<action name="local_startup">
set(autorotate.speed,5);
if(startscene === null, copy(startscene,scene[0].name));
playsound(s1,music/music1.mp3,100);
loadscene(get(startscene), null, MERGE);
</action>
<!-- automatically select a random scene if not changed within 200 seconds --->
<action name="startNext">
if(randomscene,stopdelayedcall(randomscene));
mul(nextScene,random,3);
roundval(nextScene);
delayedcall(randomscene,200, loadscene(get(scene[get(nextScene)].name),null,MERGE,BLEND(1)));
trace('Next Scene ',get(scene[get(nextScene)].name));
</action>
<scene name="scene_Hall" title="Hall" onstart="startNext();" thumburl="panos/Hall.tiles/thumb.jpg" lat="" lng="" heading="">
:
</scene>
<scene name="scene_Bathroom" title="Bathroom" onstart="startNext();" thumburl="panos/Bathroom.tiles/thumb.jpg" lat="" lng="" heading="">
:
</scene>
<scene name="scene_Bedroom" title="Bedroom" onstart="startNext()" thumburl="panos/Bedroom.tiles/thumb.jpg" lat="" lng="" heading="">
:
</scene>
</krpano>
called from another xml file with:
delayedcall(0.75, loadpano('%SWFPATH%/saltdean/vtour-1/krpano.xml', null, MERGE, BLEND(2)) ));
BR
Pedro
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!