Gulluoglu

Sergeant
61 Badges
Apr 30, 2008
74
0
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Humble Paradox Bundle
  • Europa Universalis IV: Res Publica
  • Knights of Pen and Paper +1 Edition
  • Impire
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • East India Company
  • Crusader Kings II: Sword of Islam
  • 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: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Europa Universalis III
  • Stellaris: Leviathans Story Pack
  • Prison Architect
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Megacorp
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Stellaris: Necroids
  • Stellaris: Ancient Relics
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
I decided to try my hand at some event scripting, and I've looked through these various threads, but I have a question about event scripting that I can't find a clear answer for:

Can I use 'this' in a province_event? Or only character events?

For example, I have an event where it has trigger conditions to fire for a random province from a small group of province numbers. Can I then make one of the action effects state:

Code:
	action_a = {
		effect = { type = trigger for = this value 50000 }		
	}

...and have that trigger the new event (50000) for the province currently being acted upon?

If not, is there a way to make that same end result happen? I basically want an event to trigger for a random province from a small group of provinces, which could lead to another event being fired for that randomly selected province.