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):

    Code
    oninterrupt( 
     		set(plugin[myplugin].enabled, false);
     		action(any action1);
     		action(any action2);
     		breakall();
     	);


    In version 1.0.8.12 - no reaction

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

    Code
    <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.

  • 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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!