Search found 4 matches

by yale.lee
17 Nov 2022, 10:09
Forum: General questions
Topic: Call C++ run function from Lua
Replies: 4
Views: 2423

Re: Call C++ run function from Lua

It actually works, I was trying to reach for d[7] which should not exist in C++... Sorry for the incovenience and thank you again for all the answers!
by yale.lee
01 Nov 2022, 19:07
Forum: General questions
Topic: Call C++ run function from Lua
Replies: 4
Views: 2423

Re: Call C++ run function from Lua

Hello, Thanks for the reply. The problem was that I was trying to run a while loop within the actuation function, which is really dumb. So sure enough, the thread was kind of stuck I guess, making the whole thing crash. Yet, I have another issue. I am trying to compute the distance between my mobile...
by yale.lee
28 Oct 2022, 11:01
Forum: General questions
Topic: Call C++ run function from Lua
Replies: 4
Views: 2423

Call C++ run function from Lua

Hi there, I am trying to call a C++ function from my Lua script so it only contains simMyPlugin.Run() and all the algorithm is placed in that void LUA_RUN_CALLBACK function. For now, I have the following C++ code: void LUA_RUN_CALLBACK(SScriptCallBack* cb) { launchThreadIfNeeded(); printf("[sim...
by yale.lee
25 Oct 2022, 10:24
Forum: Feature requests
Topic: Text-based save file format
Replies: 17
Views: 340489

Re: Text-based save file format

Same here, I could definitely use a text-based format! Any chance you planned it in your backlog?