Page 1 of 1
#SKIP_FUNDS_CHECK= in scripts
Posted: Sat Aug 20, 2022 1:43 pm
by woolymuffler
If "#SKIP_FUNDS_CHECK= 1" is set for an event (purchase or research), what exactly does it mean?
Is it just that the AI will make the purchase, even if this runs them into negative mpp (so not checking for funds ahead of purchase)?
Or does the AI not actually have to pay for research/units on events with "#SKIP_FUNDS_CHECK= 1" set?
Re: #SKIP_FUNDS_CHECK= in scripts
Posted: Mon Aug 22, 2022 1:24 pm
by Hubert Cater
Hi,
It just means that the lack of MPPs will not prevent it from making the purchase, e.g. if it were to go into negative, on the purchase, the available MPPs will be set to zero.
Essentially it allows the AI to not be restricted by unavailable MPPs, sometimes needed as otherwise it may never purchase a Research item (as an example) and it ensures a decent game against the AI. It is a for sure a bit of a helper, but the AI will still spend whatever MPPs it had available to make it happen.
e.g. if it had available MPPs then that extra #SKIP_FUNDS_CHECK flag may not apply. It is turned on for these events as a 'just in case' it is short, and if it is, still make sure the purchase is made exhausting all available MPPs in the process etc.
Hope this helps,
Hubert
Re: #SKIP_FUNDS_CHECK= in scripts
Posted: Mon Aug 22, 2022 3:26 pm
by woolymuffler
Thanks, appreciate the information!