Hi.
I was trying to do a 'while ... do ... end' but the following error comes out: "attempt to yield across metamethod/C-call boundary". How can I solve it?
Thanks
While Error
Re: While Error
Hi,
have a look here. For a very simple example, simply attach a threaded child script to an object, and inspect the script content.
Cheers
have a look here. For a very simple example, simply attach a threaded child script to an object, and inspect the script content.
Cheers
-
- Posts: 8
- Joined: 13 Jan 2014, 13:47
Re: While Error
Hi.
Tks for the help. It solved my problem. Just another thing. I found that LUA dont have any sleep/wait function. Do you know how to solve this problem?
Thanks
Tks for the help. It solved my problem. Just another thing. I found that LUA dont have any sleep/wait function. Do you know how to solve this problem?
Thanks
Re: While Error
When you are running a non-threaded child script, you should not sleep/wait anyway. But if you are running a threaded child script, you can use simWait.
Cheers
Cheers