PDA

View Full Version : ScriptJob Problem on compound-attributes


ewerybody
01-23-2007, 09:40 AM
Hey guys!

I have a colorRamp with 4 colors. Now I optionally want the last 3 colors change when the first color changes. So I set up a scriptJob, It works but its activating itself somehow over and over again. Thats pretty dirty so I'm asking if someone has a solution.

I told it already some times. So here is a thread concerning this on highend 3d:
http://www.highend3d.com/boards/index.php?showtopic=233676

and if you want german I made another post at percutio:
http://www.percutio.com/thread.php?threadid=5162

Thanks for reading folks! :] hope you can help me

isamuraiqat
01-23-2007, 10:07 AM
wouldnt it be a lot easier for you to use an expression instead? it's a lot faster and i think it'll solve your problem

ewerybody
01-24-2007, 09:03 AM
hmmm... no I'd had to add the expression to the scene and I don't want that. I would have to delete it if the UI is closed or If I don't want the unification anymore...

The scriptjob is smart enough. I can parent it to the UI so it gets deleted automatically :]

ewerybody
02-01-2007, 11:47 AM
another problem is: Seems I cannot add an expression from one compound attr to another :[

expression -o "gischt_01_psd1" -s "rlParticleColor[1].rlParticleColorValue = rlParticleColor[0].rlParticleColorValue";
// Error: Attributes must be of float, integer, or boolean types: rlParticleColorValue //
// Error: Attributes must be of float, integer, or boolean types: rlParticleColorValue //

CGTalk Moderation
02-01-2007, 11:47 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.