selecting a random video with bangs, but nothing plays on 0

Charlie Bravo's icon

Greetings,

I am very, very new to Max and have been experimenting. I am using urn-jib, triggered by a metro, to randomly select a number which plays the corresponding video. The problem is that whenever the number is 0, nothing happens until the metro bangs again. I have tried adding a "select 0" to trigger another bang, but it doesn't work :/

Similarly, I am picking up button presses on an xbox controller, but each press, when sent and received, is sending two bangs. What am I doing wrong?

If someone could point me the right way I'd appreciate it greatly. (I also don't know how to export the code to post here...so I added a screenshot :/ )

Cheers

post-sphere-vid-4-crop.png
png
Charlie Bravo's icon

SO, after hours of frustration, ten minutes after I post this I work out how to resolve both issues using "if" rather than "select"!

thispatcher's icon

way to go!

Charlie Bravo's icon

thanks! I've come close to another post or two, but stumbled my way through. I'm now just having grief properly including media in the application :/ https://cycling74.com/forums/including-media-in-an-application/