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

Garnrag

First Lieutenant
125 Badges
Jan 27, 2007
267
74
  • Cities: Skylines Deluxe Edition
  • Europa Universalis: Rome
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Teleglitch: Die More Edition
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis: Rome Collectors Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Victoria 3 Sign Up
  • Europa Universalis III: Chronicles
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Diplomacy
  • Europa Universalis III
  • Cities in Motion
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
Hi all,

I'm trying to get back into modding since the pre-2.2 days. I've nearly managed to work everything out on my own so far, but I am failing miserably at assigning specific planetary deposits to my home world and other key planets.

I've given the intended planets unique flags. I've set up an on_action event. It triggers on pressing begin. It should search for the home world and run a custom scripted effect to generate deposits and blockers, using the Sol initializer as an example. It should also search for the flags of my other custom worlds and add a single deposit directly.

And yet it does nothing! Is there an up to date example that anyone can give me to try and learn from?