killQ()

From pinHeck Wiki
Jump to: navigation, search

Kills any enqueued videos. You typically want to call this when starting / ending a mode or on a ball drain.

Let's say the player makes a combo shot and the system is going to play 2 videos. But the ball drains before the second video starts. If we didn't clear the video queue on ball drain, this second video would still pop up later on.