Page 1 of 1

Unofficial Coroutine class for ScriptAPI

Posted: Fri Aug 25, 2017 3:08 pm
by JakSparro98
Hi all, I'm back with other goodies for the SFD scriptAPI world.

Back when I was writing my AI script, hoping to complete it before Gurt introduced his own, just to prove to him the power of his same script engine, I decided to write a class to let me and other scripters to write in simple manner their own coroutines.

A coroutine is like a function that has the ability to pause execution and return control to the game but then to continue where it left off on the following frame.

Download script

Documentation:
► Show Spoiler
This thread is open to suggestions, advice, explanation... tell me your ideas and I will update the post with your help.

Re: Unofficial Coroutine class for ScriptAPI

Posted: Tue May 19, 2020 9:39 am
by Odex64
I know this is an old topic, but I found that very useful. Thanks JakSparro, as always! :D