Hi, I wrote a simple code that flips through scenes.
Create a button and assign it an action autoNextScene();
|
Quellcode
|
1
2
3
4
5
6
|
if(autoNext, clearinterval('nextsc');
set(autoNext, false);
,
setinterval('nextsc', 10, skin_nextscene_loop(+1); );
set(autoNext, true);
);
|
Thank you! That worked great.
Would it be possible to make it so that when clicking the button it switches directly to the next scene without delay and only then starts the 10 sec. timer? Also, is there a way to individually edit the transitions? I'm trying to sort of simulate 3d movement with zooms and camera turns, for that to work the transitions need to be different each time.
Thanks again!
Edit: Managed to get the instant onclick scene-switch to work by adding a nextscene action, so only need help with the individual transitions.