So, I recently started playing the AI TargetIsWorthy tag with some success and would like to get into some details. In the ValueCalcWrapper, we may see the following statement
<Calculate InternalName="Value">
<Expression><![CDATA[[Calc] < 5]]></Expression>
</Calculate>
My question is the result of the CDATA calculation [Calc] < 5
If [Calc] < 5 is true, does the value return a 1 or TRUE, or some other random non-zero value
if [Calc] < 5 is false, does the value return a 0 or FALSE, or some other set value.
I'm hoping the answer is that the values here are a 1 and a 0, but I'm unsure exactly on how to test this feature out, and I am hoping that someone at stardock would give me a nod to the answer here.
The end goal is to use these to compute logical 'and' and 'or' functions from basic mathematical operators and produce a more scripted AI as I have begun.