Page 1 of 1

Any way to break/suspend a function?

Posted: Wed Mar 17, 2010 11:03 pm
by Tuxedo
Hi!
I wonder if there's a way(or maybe it will be in (near)future) to break a function...
for example something like a check form the function LoadPic() while loading a BIG picture, so maybe will be possible to break or suspend(depends on circumnstances) and than continue without restart from the beginnig...
That maybe usefull also on personal functions that maybe launched meantime you do something else...
Somethinglike a generic Asyncronous object, not only for anim/music...
Sorry for stupid quesion :P

Re: Any way to break/suspend a function?

Posted: Fri Mar 19, 2010 10:02 pm
by airsoftsoftwair
That's not possible because it would lead to severe concurrency effects. Hollywood is not designed to handle this.

Re: Any way to break/suspend a function?

Posted: Sat Mar 20, 2010 12:05 am
by Tuxedo
I know that...
However when functions locks the entire progrsm sometimes was really problematic for me...
I hate to lost the control of the program... :P