Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i'm looking for a way to run a command when an object from my array is selected but not sure how?
This is how i thought it would be written but it doesn't work, Max gives me this error:
Runtime error: Change handler setup requires a MAX object or MAX object collection, got: undefined
global cc_B = #($a_obj, $b_obj, $c_obj)
when select #cc_B changes do
(
if #cc_B.isSelected then
(
print "cc_B selected"
if IgnoreArm == true then
(
print "ignoring arm"
)
)
)
Solved! Go to Solution.