View unanswered posts | View active topics It is currently Wed Dec 25, 2024 5:21 pm



Reply to topic  [ 10 posts ] 
 Lua Documentation 
Author Message
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post Lua Documentation
The Lua Documentation has been released by Data. In which he describes every single function. I've taken the time to format all these objects and functions into the existing structure, and it can be found in the below link. Moving over the actual description arguments and return arguments is appreciated to their counterpart on the formatted side of the wiki.

Official Cortex Command Documentation


Formatted version


Last edited by Daman on Thu Jun 07, 2012 7:12 pm, edited 1 time in total.



Fri May 15, 2009 12:41 am
Profile
Banned
User avatar

Joined: Tue Feb 27, 2007 4:05 pm
Posts: 2527
Reply with quote
Post Re: Lua Documentation
A+


Fri May 15, 2009 1:12 am
Profile YIM
User avatar

Joined: Mon Jun 28, 2010 10:06 pm
Posts: 461
Location: STEPPING INTO THE RING
Reply with quote
Post Re: Lua Documentation
TEH LENKS!!! TEHY R BROCKENZ!!!


Wed Jul 28, 2010 2:52 am
Profile
DRLGrump
User avatar

Joined: Tue Nov 07, 2006 1:26 am
Posts: 2037
Location: Jerking off in a corner over by the OT sub-forum
Reply with quote
Post Re: Lua Documentation
darkdoom wrote:
TEH LENKS!!! TEHY R BROCKENZ!!!

No ♥♥♥♥. The entire wiki is down. Old news.


Wed Jul 28, 2010 2:54 am
Profile
User avatar

Joined: Mon Jun 15, 2009 4:02 pm
Posts: 905
Reply with quote
Post Re: Lua Documentation
http://drlwiki.thebunny.info/wiki/index.php/Main_Page
&
viewtopic.php?f=73&t=17361


Wed Jul 28, 2010 3:05 am
Profile WWW
DRL Developer
DRL Developer
User avatar

Joined: Thu Jun 11, 2009 2:34 pm
Posts: 966
Location: Moscow, Russia
Reply with quote
Post Re: Lua Documentation
Nice Lua course for starters

http://www.phailed.me/2011/02/learn-lua-the-hard-way-1/


Wed May 23, 2012 6:32 am
Profile
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post Re: Lua Documentation
Wiki links in OP fixed.

Syntax highlighting/function linking fixed. If you want functions to be recognized and linked to their function page, feel free to post them.

The lua portion of the wiki needs documentation/updating!


Thu Jun 07, 2012 7:12 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Lua Documentation
The LuaDocs page on the wiki is automatically updated by a script Data made -- it pulls straight from documentation in the source code. There's some chunks missing, and he's currently trying to figure out why they aren't showing up. Unfortunately, due to the nature of the script, any edits will be overwritten whenever he runs it. I'm not sure whether that'll cause a problem, but I figured I should at least let you know.


Thu Jun 07, 2012 11:51 pm
Profile WWW
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post Re: Lua Documentation
That's good to hear, actually. I could write a script to pull descriptions and methods into the formatted entries. It'd be nice if the argument entries for methods were formatted somehow(like, for example, it said (string) DESCRIPTION or (int) DESCRIPTION). I'd like to have the formatted area up to date because I think having lua-examples for each method is really helpful in understanding how it they are used.


Fri Jun 08, 2012 1:01 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Lua Documentation
Yeah, that would be really useful. Adding that to Data's script is pretty unlikely until after 1.0, since we're basically in crunch time at the moment, but I'd love to see it implemented in the near future.


Fri Jun 08, 2012 1:21 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.036s | 14 Queries | GZIP : Off ]