  | | | HELP: Bug running a script | HELP: Bug running a script 2004-05-21 - By Oz Adi
Back This pretty urgent! I've encountered a bug running a script, and I am in a middle of the tight project...
I am doing a camera projection on shape animated face,
I need to mute shape deformation BEFORE each frame, unlock the cam projection- lock it again, then turn on the shape deformation again..
it all works great when doing it MANUALY.. but when Puting it into a script it doesnt work when being run.
here's the script:
rem * mute shape animtion * SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 0 rem * un lock cam projection * SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture _Projection5.CameraTxt.Freeze", False rem * Lock cam projection * SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture _Projection5.CameraTxt.Freeze", True rem * un mute shape animation * SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 1
I've tried running those commands from the script editor, one at a time (one line script) , and it works.. running them automaticaly one after the other (as a four line script) and it doesnt do a thing..
I even tried to make delays between each line of a few seconds.. doesnt work as well..
I really need help on this one.. any work around? any other way of making this autamitacly?
thanks!!!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>This pretty urgent! I've encountered a bug running a script, and I am in a middle<BR>of the tight project...</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>I am doing a camera projection on shape animated face,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>I need to mute shape deformation <STRONG>BEFORE</STRONG> each frame, unlock the cam projection- <BR>lock it again, then turn on the shape deformation again..</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>it all works great when doing it MANUALY..<BR>but when Puting it into a script it doesnt work when being run.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>here's the script:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2><EM><FONT color=#ff0000>rem * mute shape animtion *<BR></FONT></EM><STRONG>SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 0</STRONG> </FONT></DIV> <DIV><FONT face=Arial size=2><EM><FONT color=#ff0000>rem * un lock cam projection *</FONT></EM><BR><STRONG>SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5 .CameraTxt.Freeze", False</STRONG> </FONT></DIV> <DIV><FONT face=Arial size=2><EM><FONT color=#ff0000>rem * Lock cam projection *</FONT></EM><BR><STRONG>SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5 .CameraTxt.Freeze", True</STRONG></FONT></DIV> <DIV><FONT face=Arial size=2><EM><FONT color=#ff0000>rem * un mute shape animation *</FONT></EM><BR><STRONG>SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 1<BR></STRONG></FONT></DIV> <DIV><FONT face=Arial size=2>I've tried running those commands from the script editor, <STRONG>one at a time</STRONG> (one line script) , and it <STRONG>works</STRONG>.. running them automaticaly one after the other (as a four line script) and it doesnt do a thing..</DIV> <DIV> </DIV> <DIV>I even tried to make delays between each line of a few seconds.. doesnt work as well..</DIV> <DIV> </DIV> <DIV>I really need help on this one.. any work around? any other way of making this autamitacly?</DIV> <DIV> </DIV> <DIV>thanks!!!</DIV> <DIV> </DIV> <DIV><BR> </DIV></FONT></BODY></HTML>
|
|
 |