View unanswered posts | View active topics It is currently Sun Sep 22, 2019 3:12 am



Reply to topic  [ 4 posts ] 
 Lua documentation updated for B30 
Author Message
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Lua documentation updated for B30
Link to the Wiki

The scripts for the LuaBot that maintains the API documentation have also been updated and improved to parse more classes than before. The only classes that are left out are "GUIBanner" and "Area" (parsing C++ headers from PHP can be a bit messy).

If you have any suggestions for improvements of the text in the documentation please post it here. Note that editing it manually is a waste of time since the bot will overwrite any changes the next time it updates.


Thu May 15, 2014 10:24 am
Profile

Joined: Fri Sep 10, 2010 1:48 am
Posts: 661
Location: Halifax, Canada
Reply with quote
Post Re: Lua documentation updated for B30
Hurrah, this is excellent!
Thanks a lot for updating this, I think the primitive line/shape drawing stuff got missed too though.
Is the list of all functions also gonna get auto-updated in future or will it just be this section? It's great to have either way.


Thu May 15, 2014 4:22 pm
Profile

Joined: Fri Nov 23, 2012 5:42 am
Posts: 143
Reply with quote
Post Re: Lua documentation updated for B30
yeah, this is awesome. The parent links are often broken or wrong though. Like on the HDFirearm page, the parent link goes to the ini section for HeldDevice, rather than the LuaDocs page for HeldDevice. On other pages like the MOSRotating page, the parent link is just broken.

Also, what about the new ini properties? I haven't been able to find a list of properties or their arguments anywhere. I'm not sure how many were actually added, is it just the LoadFirst property and the 2 AI override properties for projectiles?


Thu May 15, 2014 4:42 pm
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Lua documentation updated for B30
Thanks for the bug reports.
Bad Boy, the list of all functions is not created by the LuaBot so it is unlikely it will be updated. Since we have documentation for 43 of 45 classes already, that time is better spent doing other things IMHO.
clunatic, the whole change-log is at the bottom of the announcement page.


Thu May 15, 2014 6:18 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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.028s | 13 Queries | GZIP : Off ]