avatar Objects to use in Validate.lua
November 19, 2010 04:03PM
I am finishing WFB - Orcs and Goblins ruleset validation, but need to control units total points (8 edition requirements). I am investigating Objects used in validate rulesets, but i don't find any documentation about that.

Please, i only need a list of objects and attributes.

Regards.
avatar Re: Objects to use in Validate.lua
November 27, 2010 11:49PM
Sorry for this serious gap in the documentation.
I've restored documents from old version.
please check this for functions available in validator scripts:
[armycalc.com]
please check this for functions available in display scripts:
[armycalc.com]
and most important is the description of twArmy object:
[armycalc.com]

Please also not the twPrint and twNotice functions can print arrays/tables/object (which are in fact same thing in lua) as well so you can put line like this in your script:
twNotice(twArmy);
to see all fields of twArmy object. but try to use only fields listed in documentation as live version can contain some unofficial helpers that should not be used.

please ask in case of any doubt.



avatar Re: Objects to use in Validate.lua
November 28, 2010 01:32AM
Newly, thank you very much Francio.
Sorry, only registered users may post in this forum.

Click here to login

© 2009,2010 FSW; almost valid XHTML; generated in: 0.03s;