• 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.

unmerged(48679)

Captain
Sep 17, 2005
379
0
Is there something wrong with this event:

#########################################################################
# Claims on Macao
#########################################################################
event = {
id = 999999
random = no
country = CHC
trigger = {
control = { province = 1235 data = CHC }
control = { province = 1280 data = CHC }
}

name = "Macao"
desc = "The Portugese colony of Macao is Chinese territory. We are going to have it back"
style = 0
picture = "China_CW"

date = { day = 1 month = january year = 1936 }
offset = 3
deathdate = { day = 30 month = december year = 1947 }

action_a = {
name = "Make claims on Macao" #
ai_chance = 100
command = { type = addcore which = 1316 }
}
}
 

Black Guardian

Major
25 Badges
Dec 31, 2005
590
25
  • Europa Universalis IV: El Dorado
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Steel Division: Normandy 44 -  Back to Hell
  • Steel Division: Normand 44 - Second Wave
  • Steel Division: Normandy 44
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Cities in Motion
  • Cities: Skylines
  • 500k Club
  • Victoria 2
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
  • Cities in Motion 2
Mr Hearts said:
action_a = {
name = "Make claims on Macao" #
ai_chance = 100
command = { type = addcore which = 1316 }
}

change it into:

Code:
        action_a = {
		name = "Make claims on Macao" # 
		command = { type = { addcore which = 1316 } }
        }

ai_chance isn´t necessairy, if you´ve just this one choice...