Data Realms Fan Forums
http://forums.datarealms.com/

Lua documentation updated for B30
http://forums.datarealms.com/viewtopic.php?f=73&t=45705
Page 1 of 1

Author:  Abdul Alhazred [ Thu May 15, 2014 10:24 am ]
Post subject:  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.

Author:  Bad Boy [ Thu May 15, 2014 4:22 pm ]
Post subject:  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.

Author:  clunatic [ Thu May 15, 2014 4:42 pm ]
Post subject:  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?

Author:  Abdul Alhazred [ Thu May 15, 2014 6:18 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/