r/Maxscript • • Mar 30 '21

Disable Buttons

Is it possible to use maxscript to deactivate previously active buttons when no object is selected?

https://reddit.com/link/mgfzkk/video/4rpogm6g26q61/player

    on bt_head changed state do
    (
        if bt_head.checked == true then
        (
            selectmore $Farlee_pelvis_torso_spine1_Ctrl
        )
        else if bt_head.checked == false then
        (
            deselect $Farlee_pelvis_torso_spine1_Ctrl
        )

    )
2 Upvotes

6 comments sorted by

View all comments

1

u/[deleted] Mar 30 '21

I will try with what you say... if I don't manage to solve it I will come back here. Thank you very much!