Mayday: Javascript integration and odd Storyline behavior

Jun 14, 2022

This is my mayday call - does anyone with Javascript integration experience have 15 minutes to help me figure out why the following is happening in my course:

  • Button states changing automatically; in opposition to trigger conditions
  • JS function 1 should fire first, but JS function 2 is firing first (and JS1 sets a dependency for JS2). Yes, they're in the right order, in the same Run Javascript trigger even
  • JS function 3 not firing at all on state change, but works fine on button click (i.e. it's not the JS).

The first two were working fine until I scaled up. I first set up the model using 4 buttons, and then scaled up to the 16 buttons on the screen, and it went kablooey. I've re-checked these triggers a gazillion times, and even the first 4 buttons aren't working.

Thanks in advance!

p.s. I don't think I can upload the file because it relies on js libraries that are behind our firewall

1 Reply