If I try to create a coroutine inside a class, I get an error, “Function arguments expected near (”, eg this doesn’t work.
cos=coroutine.create(Test:Test1)
It seems to be because the name is inside a class and has a class name prefix and colon. I can get it to work if I point at a function which isnt in a class. How then can I define a coroutine within a class?