Is there a way to stop Actions with Delay?

ummakumma
ummakumma Community Member Posts: 97
Hi



I´m creating a title with full of mp3´s and Actions with delays. But now my problem is that I want to stop the delayed Actions if Another Button with Actions is pressed. Is there any genious .JS way to do this?



Thanks

Comments

  • ummakumma
    ummakumma Community Member Posts: 97
    Oh... I just realized that there is no need for delayed Actions because events in mp3´s works just fine in mobile devices :eek:
  • ummakumma
    ummakumma Community Member Posts: 97
    Now I got another project where this question is relevant. Does anybody have a trick to stop Actions on current page?



    Thanks :o
  • timk
    timk Community Member Posts: 1,205 ♦ Idol ♦
    You can use a variable to stop actions from being run, e.g. stop_delayed_action, initial value = 0



    1. Delayed action

    On: Your_trigger

    Action: Your_action

    Target: Your_target



    Delay: 3,0

    Condition: Only if "stop_delayed_action" is equal to 0



    If you modify the variable to "1" (anything but "0") while the 3,0 second delay is running the action won't be executed.



    Tim
  • ummakumma
    ummakumma Community Member Posts: 97
    @timk 61791 wrote:
    You can use a variable to stop actions from being run, e.g. stop_delayed_action, initial value = 0



    1. Delayed action

    On: Your_trigger

    Action: Your_action

    Target: Your_target



    Delay: 3,0

    Condition: Only if "stop_delayed_action" is equal to 0



    If you modify the variable to "1" (anything but "0") while the 3,0 second delay is running the action won't be executed.



    Tim


    Thanks!



    Of course I didn´t got that obvious solution in my mind =) It will work.