Quote:
I am calling function from action of entity and this function has loop with wait() in it. If I just do this, then the action and that function are running in parallel.

Simple function can not run "in parallel", this possible only then you use multithreading.

>>>Is there a way for action not to proceed until function completes

Code:
wait_for(myfunction);



Last edited by XD1v0; 06/22/09 20:50.

A7 Commercial cool
Celeron 1700, GeForce 5500 FX 256mb, 1 Gb Ram