Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-13-19, 05:05 AM   #2
MooreaTv
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: May 2019
Posts: 38
To yield every frame you have to call yield inside the loop not after the loop is finished

yield only yields the current coroutine not another one (which wouldn't be possible given the lua interpreter in wow is single threaded, which you can be thankful for otherwise we'd have locking issues)
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Is there any way to throttle an arbitrary function?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off