Combine two bangs to output one bang

Jun 23, 2010 at 8:33am

Combine two bangs to output one bang

Okay so im trying to send a single bang out when two numbers are received.

This is what I have so far but its not quite right…
The buddy object is not correct.

– Pasted Max Patch, click to expand. –

I need a single bang to happen when x is 70 and y is 20.

Any help would be goood Thanks

#51021
Jun 23, 2010 at 9:17am

perfect!!! Thanks a lot!

#183056
Jun 23, 2010 at 9:17am

You could use expr, or many other techniques…

– Pasted Max Patch, click to expand. –

p

#183057
Jun 23, 2010 at 9:19am

Oooopps, raja I didn’t see your solution.

I think you should replace the pack with a pak.

p

#183058
Jun 23, 2010 at 9:48am

You’re right raja, I just forgot therewas a pictslider … So my t b i is also useless. :-)

p

#183060
Jun 23, 2010 at 10:12am

That’s correct. pictslider always outputs the x and y coordinates (from right to left).

#183061
Jun 23, 2010 at 12:05pm

[onebang] will do . Or use if. Use these bang to trigger two message boxes (such as 1).. If $i1 == 1 && $i2 == 1 then bang else out2

#183062

You must be logged in to reply to this topic.