Search found 2 matches

by thispolo
Fri Mar 25, 2022 9:31 am
Forum: Lua Legion
Topic: Delegating to C in Lua, 'require' functionality and RunScript
Replies: 3
Views: 392

Re: Delegating to C in Lua, 'require' functionality and RunScript

Ah, this makes sense. Thanks. Right now I am forced to simulate 'require' by using 'RunScript' and to prevent duplicated execution using global variables.

I've looked into the Lua log for 'RunScript' and the only thing that gets logged, if a script has a syntax error, is that the script was "ran ...
by thispolo
Thu Mar 24, 2022 3:21 pm
Forum: Lua Legion
Topic: Delegating to C in Lua, 'require' functionality and RunScript
Replies: 3
Views: 392

Delegating to C in Lua, 'require' functionality and RunScript

Hi there! First, I'd like to congratulate the team on Command: Modern Operations. Really excellent stuff! The amount of work you have put into this software is very admirable :D

Just some clarification... I'm somewhat familiar with Lua and have only just started using it within CMO for some of my ...

Go to advanced search