Hello,
I'm new to the maxscript and i need some help from you.
I created an rollout with some buttons that runs different types of maxscripts. However, now i want to create a checkbutton (like a ON/OFF button) and when it is pressed (ON) runs a macro script; then when is pressed again (OFF), the macro script will stop.
I tried with the button function and it worked fine.
Can be done with the checkbutton?
Here is the script:
try (closerolloutfloater Utilities) catch()
rollout ro_skin "Skin Utilities"
(
button skinblend "Blend" pos:[10,10] width:60 height:16 align:#center
on skinblend pressed do
(
macros.run "Skin" "BlendModeOnOff"
)
)
Utilities = NewRolloutFloater "Eek Utilities" 180 300
addRollout ro_skin Utilities rolledup:false
Thank you in advance,
Mihai.
3dwannab · 2015-01-14