CarlCampbell
04-10-2005, 01:32 AM
I'm making this script to control facial animation based off Busby and Bousquet's "Mastering the Art of Production with MAX4" and I seem to be stuck and I CAN'T figure out what is wrong...
---------------
-- UI Window --
---------------
w=newrolloutfloater "Control Facial" 335 350
-------------------------------
-- UI Rollout Facial Control --
-------------------------------
rollout rll_main "Control Facial" width:300 height:280
(
-------------------------------
-- UI Rollout Facial Control --
-------------------------------
bitmap bmpSchematic1 fileName:"open.bmp" pos:[5,15]
bitmap bmpSchematic2 fileName:"angry_right.bmp" pos:[110,15]
bitmap bmpSchematic3 fileName:"angry_left.bmp" pos:[215,15]
spinner spAbre "Abre" width:55 pos:[35,122] range:[0,110,0]
spinner spRAngry "Grr dcha." width:55 pos:[150,122] range:[0,110,0]
spinner spLAngry "Grr izq." width:55 pos:[250,122] range:[0,110,0]
button btnUpdate "Activar Camara Facial" align:#right width:262 height:20 pos:[30,285]
)
addrollout rll_main w
-------------------------
-- Eventos de rll_main --
-------------------------
on spAbre changed Phovalue do
(
$head.morpher[1].value=Phovalue
)
)
addrollout rll_main w.
I've just written 1 event so far to test and I get the following error: -- Type error: Call needs function or class, got: true
---------------
-- UI Window --
---------------
w=newrolloutfloater "Control Facial" 335 350
-------------------------------
-- UI Rollout Facial Control --
-------------------------------
rollout rll_main "Control Facial" width:300 height:280
(
-------------------------------
-- UI Rollout Facial Control --
-------------------------------
bitmap bmpSchematic1 fileName:"open.bmp" pos:[5,15]
bitmap bmpSchematic2 fileName:"angry_right.bmp" pos:[110,15]
bitmap bmpSchematic3 fileName:"angry_left.bmp" pos:[215,15]
spinner spAbre "Abre" width:55 pos:[35,122] range:[0,110,0]
spinner spRAngry "Grr dcha." width:55 pos:[150,122] range:[0,110,0]
spinner spLAngry "Grr izq." width:55 pos:[250,122] range:[0,110,0]
button btnUpdate "Activar Camara Facial" align:#right width:262 height:20 pos:[30,285]
)
addrollout rll_main w
-------------------------
-- Eventos de rll_main --
-------------------------
on spAbre changed Phovalue do
(
$head.morpher[1].value=Phovalue
)
)
addrollout rll_main w.
I've just written 1 event so far to test and I get the following error: -- Type error: Call needs function or class, got: true
