Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / [Unity]Retrieving console string from the stack

Years of Service
User Offline
Joined: 22nd Oct 2008
Location: Indiana
Posted: 8th Feb 2011 01:02
Well, I successfully implemented y console with Lua via Unity now. I have one problem that is fairly Lua specific, so I figured I'd mention it here in case someone may know of a remedy.

I'm treating my console as a single line interpreter. I have overwritten Lua's print function like so: _G.print = function(), to allow for me to draw it to the console myself.

My main concern is that I do not know how to grab the Lua consoles output so that I can display it on my console as well. Any suggestions are more than welcome.

Thanks in advance.

blue fire games
Years of Service
User Offline
Joined: 29th Apr 2011
Posted: 2nd May 2011 00:21
sorry i dont know how to help you on that one ive used unity before bit complicated for me though so till i get better im sticking with dark basic but once i get much better at programming i plan to move on to unity

Login to post a reply

Server time is: 2020-10-28 16:58:14
Your offset time is: 2020-10-28 16:58:14