I'm looking through some event files to see the likelihood of some events firing and I'm having some trouble understanding how event choices are selected by the ai.
How does AI_chance work in HOI4? Is it just the choice weight/divided by sum of all weights? Or is it choose a number between 0 and the choice weight for each choice and then compare which one has the highest value?
I could've sworn i was told the latter was true but the wiki seems to suggest the former. Any help clearing this up would be much appreciated!
How does AI_chance work in HOI4? Is it just the choice weight/divided by sum of all weights? Or is it choose a number between 0 and the choice weight for each choice and then compare which one has the highest value?
I could've sworn i was told the latter was true but the wiki seems to suggest the former. Any help clearing this up would be much appreciated!