menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Coroutines
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Coroutines
ShadyShock
Join Date: 2013-12-03
Post Count: 3372
#183614443
Sunday, February 14, 2016 9:19 PM GMT
I read the wiki on Coroutines, and I didn't quite understand what it meant, can someone tell me what Coroutines are useful for?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
pinballboy7
Join Date: 2009-03-12
Post Count: 1485
#183623447
Sunday, February 14, 2016 11:27 PM GMT
To my understanding, coroutines are basically functions, but they can be paused, resumed, stopped, etc. from outside the function. Don't mind me posting nonstop, trying to clear some annoying threads out of my MyForums.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cntkillme
Join Date: 2008-04-07
Post Count: 49450
#183623765
Sunday, February 14, 2016 11:32 PM GMT
Your understanding is wrong, coroutines are not functions and can only be paused from inside itself, and they can't be "stopped" until it dies.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right