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

Imp0815

Captain
98 Badges
Jun 26, 2012
345
582
  • Victoria 2: Heart of Darkness
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Synthetic Dawn
  • Cities: Skylines Deluxe Edition
  • A Game of Dwarves
  • Victoria 2: A House Divided
  • Victoria 2
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Pirates of Black Cove
  • Magicka
  • Hearts of Iron III: Their Finest Hour
  • 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
  • Leviathan: Warships
  • Crusader Kings II: Sword of Islam
  • Hearts of Iron III
  • Dungeonland
  • Crusader Kings II: Sunset Invasion
  • For the Motherland
  • Europa Universalis III
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: No Step Back
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Warlock: Master of the Arcane
Hello,

is there somebody out there who worked with the Scripted triggers so far?
I want to make a script that changes the name of a system to the name of the first colony that gets established there.
I looked for the Script/trigger that controls the naming of Planets when colonized but i could not find it.

Can somebody hint me the direction or maybe tell me the variables to make a custom trigger in the scripted_triggers folder?

I found:
on_colonized
set_name
Scope=star
has_owner = yes
is_homeworld = no
owner = { is_ai = no }
has_ground_combat = no
is_capital = no

so far.

And i know there must also be a script that changes the planet names in the system if that gets renamed. But i also couldn't find it.