Cosa non va in questo evento...???

Discussione in 'Darkest Hour' iniziata da pilade, 7 Ottobre 2011.

  1. pilade

    pilade

    Registrato:
    22 Novembre 2007
    Messaggi:
    551
    Ratings:
    +0
    #########################################################################
    # ooo
    #########################################################################
    event = {
    id = 1234567890
    random = no
    country = PER

    trigger = {

    war = { country = PER country = SOV }
    war = { country = PER country = ENG }

    }

    NOT = {

    control = { province = 1086 data = PER }
    control = { province = 1085 data = PER }
    control = { province = 1089 data = PER }
    }





    name = "ooo"
    desc = "ooo"


    date = { day = 3 month = january year = 1936 }
    offset = 3
    deathdate = { day = 30 month = december year = 1963 }

    action_a = {
    name = "ooo"
    ai_chance = 100
    command = { type = leave_alliance }
    # command = { type = access which = ENG }
    # command = { type = access which = SOV }
    command = { type = headofstate which = 150011 } # Mohammed Reza Pahlavi
    command = { type = headofgovernment which = 150015 } # Mohammed Ali Foroughi
    command = { type = foreignminister which = 150028 } # Ali Zohayli
    command = { type = armamentminister which = 150043 } # Sayyid al-Din Tabataba'i
    command = { type = ministerofsecurity which = 150053 } # Mohammed Bahrami
    command = { type = ministerofintelligence which = 150064 } # Sir Neville Grantleigh
    command = { type = chiefofstaff which = 150071 } # Reza Mizani
    command = { type = chiefofarmy which = 150077 } # Azram Mir Ghani
    command = { type = chiefofnavy which = 150082 } # Mohammed Moini
    command = { type = chiefofair which = 150087 } # Mohammed Moini
    command = { type = waketeam which = 150002 } #Douglas Aircraft
    command = { type = sleepteam which = 150006 } #State Aircraft Company
    command = { type = sleepteam which = 150009 } #Reza Pahlavi
    command = { type = sleepteam which = 150005 } #Siemens Iran
    command = { type = set_relation which = GER value = -50 }
    command = { type = set_relation which = SOV value = 25 }
    command = { type = set_relation which = ENG value = 100 }
    command = { type = set_domestic which = democratic value = 4 }
    command = { type = set_domestic which = political_left value = 5 }
    command = { type = set_domestic which = freedom value = 3 }
    command = { type = set_domestic which = free_market value = 5 }
    #command = { type = set_domestic which = professional_army value = 7 }
    command = { type = set_domestic which = defense_lobby value = 5 }
    command = { type = set_domestic which = interventionism value = 6 }
    command = { type = dissent value = -3 }
    command = { type = end_trades which = PER where = GER }
    command = { type = secedeprovince which = SOV value = 1080 } # Sari - Persia
    command = { type = secedeprovince which = SOV value = 1081 } # Rast - Persia
    command = { type = secedeprovince which = SOV value = 1083 } # Tabriz - Persia
    #command = { type = secedeprovince which = SOV value = 1086 } # Esfahan - Persia
    #command = { type = secedeprovince which = SOV value = 1092 } # Mashad - Persia
    command = { type = independence which = TUR value = 1 }
    command = { type = independence which = AFG value = 1 }
    command = { type = independence which = IRQ value = 1 }


    }

    Cosa c'è che non va???
     
  2. Dark_Angel_Of_Sin

    Dark_Angel_Of_Sin

    Registrato:
    14 Novembre 2006
    Messaggi:
    2.339
    Ratings:
    +30
    alla fine manca una parentesi graffa e poi il trigger deve essere scritto così

    trigger = {

    war = { country = PER country = SOV }
    war = { country = PER country = ENG }
    NOT = {

    control = { province = 1086 data = PER }
    control = { province = 1085 data = PER }
    control = { province = 1089 data = PER }
    }

    }

    saluti
    DAoS
     

Condividi questa Pagina