New to the forum? Say hello in this topic! Make sure to read the rules.
RULE NR 3 UPDATED: Don't hurt, harass or provoke other forum members or people.

Unofficial Coroutine class in Script API

Share questions and tutorials related to the ScriptAPI and give suggestions for new functions you want to see.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Posts: 256
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Age: 19

Unofficial Coroutine class in Script API

Post by JakSparro98 » Fri Aug 25, 2017 3:08 pm

Hi all, I'm back with other goodies for the SFD script API world.

While I'm continuing writing the AI script, hoping to complete it before Gurt introduces 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

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest