LuaBridge3 icon indicating copy to clipboard operation
LuaBridge3 copied to clipboard

NAI run lua code in string from cpp

Open PublicVoidUpdate opened this issue 9 months ago • 1 comments

NAI read through the wiki, and maybe i just missed it, strings but how do you pass/run lua code literals from cpp.

For example, i am making a game in cpp where a player can use a computer that runs lua (and an os based on lua) so my question is after i get the user code/from a file or literal, or wherever, and store it as a string how do i then run the string as lua? and then of course catch issues so i can display them in game, and not in a irl console.

PublicVoidUpdate avatar May 19 '24 15:05 PublicVoidUpdate