Re: Implementing an in-game console
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Implementing an in-game console
- From: "jimmyp_gr <jimmyp@...>" <jimmyp@...>
- Date: 2003年2月18日 14:41:15 -0000
Hi,
can't you just open a lua state a startup an then send the strings the
user enters on the console to lus_dostring?You can also write wrappers
for the execution of whole files via lua_dofile with error handling
etc.If you want you scripts to print to the console just write a
cprint function and export it to lua.
Dimitris