Page 1 of 1

[script][Crom system] "Permanent" log

Posted: Sat Nov 15, 2014 1:21 pm
by cromcrom
....

Re: [script][Crom system] "Permanent" log

Posted: Sat Nov 15, 2014 1:39 pm
by Doridion
Hey cromcrom, again a nice job ^^ But just to ask, couldn't be better to call/write an external log ?

Re: [script][Crom system] "Permanent" log

Posted: Sat Nov 15, 2014 2:28 pm
by cromcrom
Thanks a lot :-)

Unless I am mistaken, onDrawUi is pretty tricky, and the context lines can only be called from within this hook (to be confirmed by more talented scripters...). I agree, I really don't like that, because for many UI stuff, it could become cumbersome pretty fast...

Re: [script][Crom system] "Permanent" log

Posted: Sat Nov 15, 2014 2:49 pm
by Doridion
Thinking about that, and i'm asking for something .... possibly AH Devs could answer :

Script components seems having possibility to load external files, more else, JKos has proved that datas can be stored into entities ... could external scripts, defined as entities by hard coded definition, storing datas on the external file, or will just save datas to the savegame file ?

Re: [script][Crom system] "Permanent" log

Posted: Sat Nov 15, 2014 7:21 pm
by QuintinStone
Doridion wrote:Hey cromcrom, again a nice job ^^ But just to ask, couldn't be better to call/write an external log ?
Is that possible with lua scripting in Grimrock? I've been wanting to write stuff to grimrock.log for debugging.