AvernumScript/Appendix/Debugging Procedures

These are all debugging functions, used to provide information while you write a scenario. They probably should be removed before you actually release your scenario to the public.

void print_num(short num)

 * Prints the number num in the text area.

void print_nums(short a,short b,short c)

 * Prints the numbers a, b, and c in the text area.

void turn_on_debug_mode

 * Enables debug mode for your scenario. To turn on debugging mode, type “}”, followed by “=” (so a right bracket, followed by an equals sign). To turn off debugging mode, type an equals sign. Once on, you can use the following commands:

Note: Debug mode is automatically turned off whenever you load a saved game or enter a new scenario.

Note: This call should definitely be removed before you release your scenario.