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

adonys

Sergeant
88 Badges
Apr 5, 2008
85
2
  • BATTLETECH: Season pass
  • Shadowrun: Dragonfall
  • Empire of Sin
  • Mount & Blade: With Fire and Sword
  • Knights of Pen and Paper 2
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Surviving Mars: First Colony Edition
  • Steel Division: Normandy 44
  • Steel Division: Normandy 44 Deluxe Edition
  • Knights of Honor
  • Crusader Kings Complete
  • BATTLETECH
  • Prison Architect
  • Crusader Kings III
  • Stellaris: Necroids
  • Tyranny - Bastards Wound
  • Stellaris: Humanoids Species Pack
  • Surviving Mars: Digital Deluxe Edition
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • BATTLETECH: Heavy Metal
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall Sign Up
  • BATTLETECH: Flashpoint
  • Shadowrun: Hong Kong
  • Europa Universalis III Complete
  • Steel Division: Normandy 44 -  Back to Hell
  • Shadowrun Returns
  • Europa Universalis III Complete
  • BATTLETECH - Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Imperator: Rome Deluxe Edition
  • Stellaris: Megacorp
  • Teleglitch: Die More Edition
  • Rome: Vae Victis
  • War of the Roses
  • Stellaris: Distant Stars
  • 500k Club
  • Pride of Nations
  • Mount & Blade: Warband
  • Tyranny: Archon Edition
  • Stellaris: Galaxy Edition
In EUR's scripts, this trigger is only used in a triggered only event.

After doing some tests, using a script with a structure like:

Code:
xxx_event ={
	id = xxx
	
	trigger = {
		always = yes
	}

...
}

can be used, and works, without a MTTH.

Atm, it seems to be the best way to trigger an event as soon as possible, without using the title hack method.
 
Hmm, just did a couple of quick tests on this. My event so far is like this:

Code:
country_event = {
	id = 10100
	
	trigger = {
		any_province = {
			owned_by = THIS
			NOT = { controlled_by = THIS }
			NOT = { has_province_flag = tcm_province_occupied_10 }
		}
		always = yes
	}
	
	title = "Province Occupied"
	desc = "A province has been taken by the enemy!"
	
	option = {
		name = "Ok"
		random_owned = {
			limit = {
				NOT = { controlled_by = THIS }
				NOT = { has_province_flag = tcm_province_occupied_10 }
			}
			set_province_flag = tcm_province_occupied_10
			civilization_value = -10
		}
	}
}
However, the event only seems to be triggering after several days. In my first test with an existing savegame, it didn't fire at all. I triggered it manually through the console and it found the right province quite easily, but the event didn't do it on its own. In my second test, I started a new game, occupied one province and had one province occupied. The event fired for me 5 days after I lost the province, but doesn't seem to have fired for the enemy yet.

Any thoughts on where I'm going wrong? Might check it with the MTTH = -1 hack to see how it interacts...