Sie sind nicht angemeldet.

Paranorma

Anfänger

  • »Paranorma« ist der Autor dieses Themas

Beiträge: 23

Wohnort: Russia, St.Petersburg

  • Nachricht senden

1

Montag, 15. November 2010, 16:13

Oninterrupt(); action does not work with 1.0.8.12

Hi!
Why oninterrupt() action does not work with 1.0.8.12? In version 1.0.8.11 this code working fine (when mouse click):

Quellcode

1
2
3
4
5
6
 	oninterrupt( 
 		set(plugin[myplugin].enabled, false);
 		action(any action1);
 		action(any action2);
 		breakall();
 	);

In version 1.0.8.12 - no reaction

Paranorma

Anfänger

  • »Paranorma« ist der Autor dieses Themas

Beiträge: 23

Wohnort: Russia, St.Petersburg

  • Nachricht senden

2

Dienstag, 16. November 2010, 12:18

definition: this bug occur when run auto_tour action. For example:

Quellcode

1
2
3
4
5
6
7
8
9
<action name="auto_tour"> 
oninterrupt( 
action(...);
breakall();
); 
set(i,0);
autotour_next(get(i));

</action>
In version 1.0.8.12 - mouse click - not respond (not break action). In version 1.0.8.11 - working ok!
I found difference:
oninterrupt(); code now must be inserted in body loop action (autotour_next) - in this case interrupt working fine. Problem solved.

3

Mittwoch, 17. November 2010, 14:02

Hi,

right, the oninterrupt functionality has changed a bit,
now only the following actions after the oninterrupt where stopped instead of just everything,
this was necessary to be able to use animations (like the action hotspot animations) together with oninterrupt,
(btw - sorry, I see I have forgotten to note that in the releasenotes.txt),

best regards,
Klaus