[READ-ONLY] Mirror of https://github.com/thoda-dev/du-nested-coroutines. A small script for DU to avoid any CPU load error
0

Configure Feed

Select the types of activity you want to include in your feed.

how to install

Thomas (Jul 11, 2021, 1:25 PM +0200) 96c0293e 0a6edd97

+6
+6
README.md
··· 1 1 # du-nested-coroutines 2 2 A small script for DU to avoid any CPU load error 3 3 4 + ### How to Install 5 + 6 + Copy the content of the file `config.json` 7 + In the game, right click on the programming board, and select "Advanced" and "Paste Lua configuration from clipboard". 8 + 4 9 ### How to use 10 + 5 11 Write your functions in the unit > start event, in the table `MyCoroutines`. 6 12 7 13 You can use the stardard coroutine.yield method in your function by always placing as parameter the table `coroutinesTable[index]` replacing `index` with the index of your function (1 for the 1st function, 2 for the second and so on)