Page 10 of 10

Re: Scripting Reference (work in progress)

Posted: Mon Dec 01, 2014 6:23 pm
by MrChoke
petri wrote:Updating the scripting reference has been moving at snail's pace recently... Sorry about that! I'm feeling that it would be better and more efficient if the community could take the ownership of the documentation, so that when errors are found, they could be easily fixed. Also there are glaring holes in the documentation that experienced modders could surely fill in. Naturally we would help by answering those tricky technical questions that you have.

What do you think?
I think that is a good idea. Anything to get the asset definition out sooner!

One note on the community doing that though. We can certainly fill in details for anything already in the scripting reference. But for things not in there, correct me if I am wrong but it seems difficult to look at object definitions. Doing commands like pairs() and ipairs() on game objects do not yield results for example. Is there a good way to analyze an object definition?

Re: Scripting Reference (work in progress)

Posted: Mon Dec 01, 2014 8:22 pm
by NutJob
petri wrote:What do you think?
Yes please. Wiki this whole project to us (with your help). There's a few things I want to fix that I can't, many things I want to add a description for, and a everything I want all of us to add examples of usage.

Re: Scripting Reference (work in progress)

Posted: Sun Dec 07, 2014 4:31 pm
by JKos
I made a initial github project for this community documentation.
https://github.com/JKos/log2doc/wiki

I also converted component definitions and global-functions to Markup format with some regular expressions.
What do you think? Just register to github and you should be able to edit it, no need to ask for permission from me.
Currently it's under my account, but it's easy to clone/move it for example under Petri's account if you want do so.
And since it's github we can use this repository for sharing our scripts/assets too and as a bonus we do get version control. Wiki also has version control, so no one can permanently delete anything by accident or by intention.

Re: Scripting Reference (work in progress)

Posted: Mon Dec 08, 2014 7:02 pm
by cameronC
Very nice! Github is a good home for it. I hope people can take the time to contribute.

Re: Scripting Reference (work in progress)

Posted: Mon Dec 08, 2014 8:43 pm
by QuintinStone
SurfaceComponent has an undocumented contents method.

I'll make an account to do editing when I get the chance.

Re: Scripting Reference (work in progress)

Posted: Tue Dec 09, 2014 2:29 pm
by petri
JKos wrote:I made a initial github project for this community documentation.
https://github.com/JKos/log2doc/wiki
Very nice! Thank you JKos!