Generating a Log file
Posted: Tue Sep 21, 2010 11:43 am
Anybody know how to - or if it's possible - to generate a log file of what's being returned from scripts?
Looking through the current game scripts there are log instructions commented out, e.g. in Tools.bsf, or inclusion of writeLog in functions, e.g. CalculateChanceToHitAP(me, unit, aimedShot, writeLog) in FireLogic_AP.bsf. I've tried to get debugging to work but failed to get any output. Any ideas?
Cheers
Looking through the current game scripts there are log instructions commented out, e.g. in Tools.bsf, or inclusion of writeLog in functions, e.g. CalculateChanceToHitAP(me, unit, aimedShot, writeLog) in FireLogic_AP.bsf. I've tried to get debugging to work but failed to get any output. Any ideas?
Cheers