Re: Scripts Reading Text Files
The script can create custom log entries in the log file which you can base on conditions. Not sure if that actually happens in real time or at game exit....
Only game options can be written to the CFG file, scripts can't do that. When I say scripts I mean the campaign script and show me scripts, no third party scripts.
There are a good number of battle script conditions that you can use directly in a script, depending what your precise goal is. It involves labeling the units which can then be tested individually for unit strength and other parameters. Battle scripts like that are a pain in the butt, just have a look at the one for the Agincourt battle.