• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Redwolf915

Major
5 Badges
Aug 31, 2007
618
190
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV
  • Hearts of Iron IV: Cadet
  • Victoria 3 Sign Up
  • Crusader Kings II
If there are 2 or more options to take in an event, and there is NO "ai chance" they will always pick the top option correct?
 

OHgamer

Victoria's Plastic Surgeon
38 Badges
Jan 28, 2003
18.057
650
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mandate of Heaven
  • Victoria 2 Beta
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Victoria 3 Sign Up
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Hearts of Iron II: Beta
Redwolf915 said:
If there are 2 or more options to take in an event, and there is NO "ai chance" they will always pick the top option correct?

Per Vickywiki

As mentioned above, there is between a 94.5% and 85% chance of the AI selecting the first choice available in an event. This chance is influenced by the total number of options which the event includes. The specific chances of the AI selecting a specific option are given in the table below.

Option Ratio Percentage
Two options
action_a 85/90 94,4%
action_b 5/90 5,6%

Three options
action_a 85/95 89,4%
action_b 5/95 5,3%
action_c 5/95 5,3%

Four options
action_a 85/100 85%
action_b 5/100 5%
action_c 5/100 5%
action_d 5/100 5%


So no, there is no 100% guarantee AI will choose the first choice, except by adding to the event commands the line

ai_chance = 100
 

Redwolf915

Major
5 Badges
Aug 31, 2007
618
190
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV
  • Hearts of Iron IV: Cadet
  • Victoria 3 Sign Up
  • Crusader Kings II
OHgamer said:
Per Vickywiki




So no, there is no 100% guarantee AI will choose the first choice, except by adding to the event commands the line

ai_chance = 100


But what if there are no ai chances? As in


action_a = {
name = "ACTIONNAME1502A" # Intervene on the behalf of the Catholics
command = { type = war which = SWI }
command = { type = trigger which = 6912 } # ENG
}
action_b = {
name = "ACTIONNAME1502B" # Accept a settlement
command = { type = relation which = SWI value = 50 }
 

OHgamer

Victoria's Plastic Surgeon
38 Badges
Jan 28, 2003
18.057
650
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mandate of Heaven
  • Victoria 2 Beta
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Victoria 3 Sign Up
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Hearts of Iron II: Beta
Redwolf915 said:
But what if there are no ai chances? As in


action_a = {
name = "ACTIONNAME1502A" # Intervene on the behalf of the Catholics
command = { type = war which = SWI }
command = { type = trigger which = 6912 } # ENG
}
action_b = {
name = "ACTIONNAME1502B" # Accept a settlement
command = { type = relation which = SWI value = 50 }

AI will choose action A ~95% of the time, and action B ~5% of the time, as I quoted from the Vickywiki

the only way to make AI take choice A 100% of the time would be to mod the event above as follows :

action_a = {
name = "ACTIONNAME1502A" # Intervene on the behalf of the Catholics
ai_chance = 100
command = { type = war which = SWI }
command = { type = trigger which = 6912 } # ENG
}
action_b = {
name = "ACTIONNAME1502B" # Accept a settlement
ai_chance = 0
command = { type = relation which = SWI value = 50 }