zurfer
05-19-2003, 09:53 AM
Hi.
I´m very new at scripting and I don´t get this.
I done a script in visualMaxScript and I tryed to use it in max but I cant get it to work.
I have made it in to a MCR and drag it to the tollbars but when I hit the button nothing happens.
I´m trying to make a floter appear with my scripts on different buttons.
It looks like this, does anyone know why it doesn´t work?
macroScript LjudRutan
category:"LjudetRutan"
toolTip:""
(
rollout FaceExpressin "PilExpression" width:218 height:339
(
button ALjud "Aljud" pos:[12,8] width:196 height:51
button btn2 "Button" pos:[13,67] width:195 height:61
on ALjud pressed do
if $LjudA.visibility == false then $LjudA.visibility = true else $LjudA.visibility = false
on btn2 pressed do
if $LjudBMP.visibility == false then $LjudBMP.visibility = true else $LjudBMP.visibility = false
)
)
MVH Andreas
:annoyed:
I´m very new at scripting and I don´t get this.
I done a script in visualMaxScript and I tryed to use it in max but I cant get it to work.
I have made it in to a MCR and drag it to the tollbars but when I hit the button nothing happens.
I´m trying to make a floter appear with my scripts on different buttons.
It looks like this, does anyone know why it doesn´t work?
macroScript LjudRutan
category:"LjudetRutan"
toolTip:""
(
rollout FaceExpressin "PilExpression" width:218 height:339
(
button ALjud "Aljud" pos:[12,8] width:196 height:51
button btn2 "Button" pos:[13,67] width:195 height:61
on ALjud pressed do
if $LjudA.visibility == false then $LjudA.visibility = true else $LjudA.visibility = false
on btn2 pressed do
if $LjudBMP.visibility == false then $LjudBMP.visibility = true else $LjudBMP.visibility = false
)
)
MVH Andreas
:annoyed:
