pkakakozi

Recruit
May 16, 2014
2
0
Hi
I'm trying to write some event script which would save time to rise colony to city but it won't execte.
Can anybody check this and find a solution.
It works when execute this event from console.

Code:
event = { 
    id = 110001
    province = 86
    trigger = { 
	       owned = { province = 86 data = POL }
	       colony = 86 
              } 
    random = no
    name = "Province gains 1000 population and Infantry"
    desc = "Province gains 1000 population and Infantry"
    action_a = { 
               name = OK
	command = { type = population which = 86 value = 1000 }
	command = { type = INF which = 86 value = 1000 }
    } 

}

Best regards
 

Polykrates

Second Lieutenant
53 Badges
Jan 9, 2008
127
6
  • Victoria 2: A House Divided
  • For The Glory
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III
  • Darkest Hour
  • Victoria 2: Heart of Darkness
  • Arsenal of Democracy
  • Crusader Kings II: Reapers Due
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Rights of Man
  • Stellaris
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Conclave
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Try setting a time range for the event to trigger (e.g. from 1.1.1419 to 30.12.1819 checking every 5 days or so). IIRC events without a fixed date or a definitive time frame can only be triggered by other events, not by themselves.

Hope that helps you.:)