umenu color bug

alexmstahl's icon

The reference for umenu states that the color attribute takes four floats (rgba). However, if I send a message such as “color 0. 1. 1. 1.” to umenu I get an "extra arguments for message "color"" error. Sending a single float does not throw an error, it appears to index a color in a palette. Is there a way to set the toggle mode text On color in rgba?

cheers

alexmstahl's icon

(replying to myself)

This behavior was a result of the Toggle Hilite Color being set to Dynamic in the inspector. Changed it to Fixed and now the “color 0. 1. 1. 1.” message works as I hoped.

Wil's icon

did you figure out how to switch between fixed and dynamic with a message?

Max Patch
Copy patch and select New From Clipboard in Max.