Slide layer to randomly appear on timeline

I've done some Googling, and I haven't been able to find anything similar to what I'm trying to do, so I'm hoping someone can help me here.

I'm trying to build a RPG type scenario, where "distractions" will show up randomly as the user is on a slide. I have distractions set up on slide layers, I don't want the distraction slide layer to show up at set times, I want them to show up randomly throughout the timeline so that the user cannot predict when they will show up. Is it possible to have a slide layer automatically appear randomly throughout the time line?

I am ok with trying to use Javascript to do this, but I'm not sure what kind of code I would need. 

Thanks!

6 Replies