Yes, for example. Or more specifically, how much each of my generals has.
If I was doing it in a programming language it would be something like:
Code:
for each general in list_of_current_generals:
total_law = 0
for each trait in this general:
law_in_this_trait = trait.law
total_law = total_law + law_in_this_trait
endfor
write(general.name + " : " + total_law)
endfor
So I have a bunch of questions really, like: are such looping and arithmetic operations possible? how do I get the list of generals? how do I step through that list? can I write out results in any way?
I can see how scripting works (triggers, events, conditions, etc.) but in terms of the language itself so far I've only seen IF statements; not loops and maths.
I fully understand if this kind of thing is just not possible; I'm just trying to find out, well, the syntax of the language I suppose.