Procedures

Design Document ยป Procedures

Procedures

Procedures are callable subroutines that allow us to use scripts inside of scripts. They are new a addition to the FoW file so they will not be seen in many places currently.

To use a procedure in a script you use the following code:

call procedurename

The following procedures are currently available.

Size1 - This procedure sets the size limit to the value of the number tag on the parent unit. It is used in the size limit script.
Sections - This procedure sets the number tag equal to the selection value of the option. It is used in the evaluate script.
SecStatA1 - This procedure sets the number tag and ExclLimitA equal to the selection value of the option.
SecStatA2 - This procedure sets the number tag equal to and the ExclLimitA twice the selection value of the option.

Procedures can be found in the Procedures.dat file.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License