THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/12/2009 at 09:57, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) : C.O.F.F.E.E ; XPRESSO ;
---------
Hello,
I have a simple C.O.F.F.E.E - Script and when I pull play, it works fine but if I want to render it, it does not work anymore.
The script goes between 0 and 100% of an align to spline tag.
I get that Error:
COFFFEE ERROR!
(17) Invalid description ID of object
File: expression
Line: 6
var k=1;
main(doc,op)
{
var Spos;
var fosp=op->GetFirstTag();
if (fosp#ALIGNTOSPLINETAG_POSITION == 0) k=1;
if (fosp#ALIGNTOSPLINETAG_POSITION == 1) k=0;
if (fosp#ALIGNTOSPLINETAG_POSITION >= 0 & k==1) Spos=0.02;
if (fosp#ALIGNTOSPLINETAG_POSITION <= 1 & k==0) Spos=-0.02;
fosp#ALIGNTOSPLINETAG_POSITION=fosp#ALIGNTOSPLINETAG_POSITION+Spos;
}
I have the same 'animation' with XPresso via flip-flop and the render is ok.
What is wrong with ALIGNTOSPLINETAG_POSITION?