COFFEE expression executing only...

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/12/2003 at 07:41, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.500 
Platform:   Windows  ;   
Language(s) :   C.O.F.F.E.E  ;

---------
... if the object was changed (moved, resized etc.). How i can make it? I dont want that the coffee expression will be executed by every redraw (if another objects are changed).

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/12/2003 at 11:00, xxxxxxxx wrote:

i don't know, whether i understood what you mean, but when i recently had the problem with a coffeescript repeating again and again, i inserted a variable turn = 0 (above the main function as a global !). at the end of the script i put in turn++ (meaning turn=turn+1) and at the beginning i write: if (turn > 0) return;
the script will end at this point (until the time you move the tag onto the object again i think ?)

well, perhaps there's a smarter trick out there, but it works anyway.

alex