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

TelephoneKiosk

Corporal
42 Badges
Oct 14, 2011
32
0
  • Crusader Kings II
  • Hearts of Iron III Collection
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: El Dorado
  • Stellaris
  • 500k Club
  • Victoria 2
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Conquest of Paradise
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Pre-order
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Jade Dragon
So I have the following decisions in my mod:

Code:
    decisions = {
   
    `unite_the_isles = {`
   
        `only_independent = yes`
   
        `is_high_prio = yes`
   
        `ai_check_interval = 24`
   
       
   
        `potential = {`
   
            `is_playable = yes`
   
            `culture = channel_islander`
   
            `is_adult = yes`
   
            `prisoner = no`
   
            `NOT = { trait = incapable }`
   
            `NOT = { has_global_flag = isles_united }`
   
            `NOR = {`
    has_alternate_start_parameter = { key = religion_names value = random }
            `}`
   
            `OR = {`
    has_landed_title = c_jersey
    has_landed_title = c_guernsey
    has_landed_title = c_alderney
            `}`
   
        `}`
   
        `allow = {`
   
            `war=no`
   
            `primary_title = { title = d_channel_islands }`
   
            `prestige = 2000`
   
            `wealth = 500`
   
            `completely_controls = d_channel_islands`
   
            `controls = 1950`
   
            `controls = 1949`
   
            `controls = 35`
   
            `controls = 54`
   
            `controls = 36`
   
            `controls = 34`
   
            `controls = 33`
   
            `controls = 79`
   
            `controls = 1939`
   
        `}`
   
        `effect = {`
   
            `set_global_flag = isles_united`
   
            `narrative_event = { id = channel.0001}`
   
        `}`
   
        `ai_will_do = {`
   
            `factor = 1`
   
        `}`
   
    `}`
   
    `develop_the_channel = {`
   
        `only_independent = yes`
   
        `is_high_prio = yes`
   
        `ai_check_interval = 24`
   
       
   
        `potential = {`
   
            `is_playable = yes`
   
            `culture = channel_islander`
   
            `is_adult = yes`
   
            `prisoner = no`
   
            `NOT = { trait = incapable }`
   
            `NOT = { has_global_flag = isles_developed }`
   
            `NOR = {`
    has_alternate_start_parameter = { key = religion_names value = random }
            `}`
   
            `AND = {`
    has_landed_title = c_jersey
    has_landed_title = c_guernsey
    has_landed_title = c_alderney
    has_landed_title = d_channel_islands
            `}`
   
        `}`
   
        `allow = {`
   
            `war=no`
   
            `wealth = 1500`
   
            `completely_controls = d_channel_islands`
   
        `}`
   
        `effect = {`
   
            `set_global_flag = isles_developed`
   
            `character_event = { id = channel.0002}`
   
        `}`
   
        `ai_will_do = {`
   
            `factor = 1`
   
        `}`
   
    `}`
   
    `develop_the_outer_isles = {`
   
        `only_independent = yes`
   
        `is_high_prio = yes`
   
        `ai_check_interval = 24`
   
       
   
        `potential = {`
   
            `is_playable = yes`
   
            `culture = channel_islander`
   
            `is_adult = yes`
   
            `prisoner = no`
   
            `NOT = { trait = incapable }`
   
            `NOT = { has_global_flag = outer_isles_developed }`
   
            `NOR = {`
    has_alternate_start_parameter = { key = religion_names value = random }
            `}`
   
            `has_landed_title = k_united_isles`
   
        `}`
   
        `allow = {`
   
            `war=no`
   
            `wealth = 2000`
   
        `}`
   
        `effect = {`
   
            `set_global_flag = outer_isles_developed`
   
            `character_event = { id = channel.0003}`
   
        `}`
   
        `ai_will_do = {`
   
            `factor = 1`
   
        `}`
   
    `}`
    }
And whenever activating the second decision (develop\_the\_channel), it is firing event channel.003 instead of channel.002 for some reason

Code:
narrative_event = {
    `id = channel.0001`
   
    `desc = "EVTDESCchannel0001"`
   
    `picture = GFX_evt_pregnancy`
   
    `is_triggered_only = yes`
   
    `option = {`
   
        `name = "EVTOPTchannel0001"`
   
       
   
    `}`
   
    `after = {`
   
        `wealth = -500`
   
        `prestige = -2000`
   
        `activate_title = { title = k_united_isles status = yes }`
   
        `primary_title = {`
   
            `k_united_isles = {`
    grant_title = ROOT
    copy_title_laws = PREV
    copy_title_history = PREV
            `}`
   
        `}`
   
        `hidden_tooltip = { k_united_isles = { make_primary_title = yes } }`
   
        `if = {`
   
            `limit = { has_nickname = no }`
   
            `give_nickname = nick_the_liberator`
   
        `}`
   
       
   
    `}`
    }
   
    character_event = {
    `id = channel.0002`
   
    `desc = "EVTDESCchannel0002"`
   
    `picture = GFX_evt_pregnancy`
   
    `is_triggered_only = yes`
   
    `option = {`
   
        `name = "EVTOPTchannel0002"`
   
       
   
    `}`
   
    `after = {`
   
        `wealth = -1500`
   
        `2015 = {`
   
            `add_holding_slot = 2`
   
        `}`
   
        `2016 = {`
   
            `add_holding_slot = 2`
   
        `}`
   
       
   
        `2017 = {`
   
            `add_holding_slot = 2`
   
        `}`
   
       
   
    `}`
    }
   
    character_event = {
    `id = channel.0003`
   
    `desc = "EVTDESCchannel0003"`
   
    `picture = GFX_evt_pregnancy`
   
    `is_triggered_only = yes`
   
    `option = {`
   
        `name = "EVTOPTchannel0003"`
   
       
   
    `}`
   
    `after = {`
   
        `wealth = -2000`
   
        `35 = { #Innse Gall`
   
            `convert_to = castle`
   
        `}`
   
       
   
        `54 = { #isle of man`
   
            `convert_to = castle`
   
        `}`
   
       
   
        `36 = { #orkney`
   
            `convert_to = castle`
   
        `}`
   
       
   
        `34 = { #shetland`
   
            `add_holding_slot = 1`
   
            `convert_to = castle`
   
        `}`
   
       
   
        `33 = { #faeryar`
   
            `add_holding_slot = 1`
   
            `convert_to = castle`
   
        `}`
   
       
   
    `}`
    }

I'm not sure why this is. Anyone have any ideas?
 
Last edited:
Have you defined the namespace in your events file?
Also, please use code tags to properly show your script on the forums.