Originally Posted By: Reconnoiter
Ah okay. Anyway you probably use/used a wait() somewhere in your original 'sec_func' before returning the value. Otherwise is should work.


Yes i tried that but the manual says:
Quote:
A function that contains a wait loop can not return a parameter, because wait() already returns to the calling function before the final return statement is excecuted.
And thats my problem. Thats why i think about a workaround.

Last edited by NeoJones; 05/14/17 11:00.

Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D