I need some help with ai scripting. I read the Ai Files Modifiers.txt guide but there's something i don't understand.
I wrote this in FRA_Poland.ai (It's just a test)
But when GER declare war against the Allies, France puts 9 divisions in Sedan and Longwy.
Province_priorities is set to -1... and area_multiplier to 0. In the Ai Files Modifiers.txt i read "If an area contains a specific province, multiply the basic need by value " This means that if Sedan needs 9 divisions in order to defend this province from enemy attacks, it will be multiplied by 0. So it should be 0 and I shouldn't see any division there. Am i wrong? Did I miss something? Can you tell me what should I write so that french ai doesn't deploy any divisions in Sedan and Longwy?
I wrote this in FRA_Poland.ai (It's just a test)
Code:
garrison = {
province_priorities = {
102 = -1 #Sedan
96 = -1 #Longwy
}
area_multiplier = {
102 = 0 #Sedan
96 = 0 #Longwy
}
}
But when GER declare war against the Allies, France puts 9 divisions in Sedan and Longwy.
Province_priorities is set to -1... and area_multiplier to 0. In the Ai Files Modifiers.txt i read "If an area contains a specific province, multiply the basic need by value " This means that if Sedan needs 9 divisions in order to defend this province from enemy attacks, it will be multiplied by 0. So it should be 0 and I shouldn't see any division there. Am i wrong? Did I miss something? Can you tell me what should I write so that french ai doesn't deploy any divisions in Sedan and Longwy?