THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/01/2006 at 05:18, xxxxxxxx wrote:
Cinema 4D Version: 9
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
Dear Friends of Cinema 4D, I have found a coffee script of an bone tail, but it doesn't work. I have copied it from a cinema bood by sven hauth, I have got an error message in line 9 and 2. I have started since 4 days to understand the coffee language, I am a beginner with coffee scripts bye, and perhaps somebody can help me, best regards to all cinema users, Frankolino
Mistake and Fault in Line with "var opcnt..."
// Script for BoneDirection "TailSpline" begins
currentobjName = Get("Bone");
// Script for BoneDirection "TailSpline" ends
On 11/01/2006 at 06:24, xxxxxxxx wrote:
For line 2: var opcnt = 15; (removed the '>'). Is that in the code or is it a typo?
For line 9: I++ is illegal for real (floating point) values (only integral values). If you want to increment a real value, do this instead: I = I+1.0; If COFFEE supports it (not sure), you could do it shorthand: I += 1.0;
On 11/01/2006 at 06:52, xxxxxxxx wrote:
Hi Robert, very good! - I will try it. Many thanks! Frankolino