• 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.
Need more help, what is wrong with the following events?

ERROR : (unknown data defined in event database) 'name = EVT_2024007_NAME' Line = 4561 file = Mods\Darkest Hour Full\db\events\hoi2.txt

event = {
id = 2024007
random = no
country = PAR

}

name = "EVT_2024007_NAME"
style = 2
picture = "ersatz_conversion"

date = { day = 7 month = september year = 1936 }
offset = 1
deathdate = { day = 8 month = september year = 1940 }

action_a = {
ai_chance = 50
command = { type = add_prov_resource which = -1 value = 45 where = metal }
command = { type = add_prov_resource which = -1 value = 100 where = energy }
command = { type = add_prov_resource which = -1 value = 30 where = rare_materials }
command = { type = construct which = ic where = -1 value = 20 }
command = { type = construct which = ic where = -1 value = 20 }

}
action_b = {
ai_chance = 50
command = { type = domestic which = interventionism value = -1 }
}
}
 
hello again
need help again, doing a little Moding again.

I want the event to fire if the country it is not a puppet but I fail to fix it.
Here are the events.

event = {
id = 977050
random = 0
country = RUS

trigger = {
flag = OTT_ELO
war = { country = OTT country = BUL }
}

date = { day = 1 month = july year = 1939 }
offset = 3 # Check for trigger conditions day
deathdate = { day = 30 month = december year = 1963 }

name = "WAR"
desc = "WAR"


action_a = {
name = "YES"
ai_chance = 90
command = { type = relation which = GER value = 30 }
command = { type = relation which = BUL value = 100 }
command = { type = relation which = GRE value = 100 }
command = { type = relation which = SER value = 100 }
command = { type = relation which = ROM value = 100 }
command = { type = relation which = ALB value = 100 }
command = { type = relation which = HUN value = 50 }
command = { type = relation which = AUS value = 50 }
command = { trigger = { exists = ROM NOT = { ispuppet = { country = ROM }} } type = trigger which = 977051 }
command = { trigger = { exists = BUL NOT = { ispuppet = { country = BUL }} } type = trigger which = 977052 }
command = { trigger = { exists = SER NOT = { ispuppet = { country = SER }} } type = trigger which = 977053 }
command = { trigger = { exists = GRE NOT = { ispuppet = { country = GRE }} } type = trigger which = 977054 }
command = { trigger = { exists = ALB NOT = { ispuppet = { country = ALB }} } type = trigger which = 977055 }

}

action_b = {
name = "NO"
ai_chance = 10
command = { type = relation which = GER value = -50 }
command = { type = relation which = BUL value = -150 }
command = { type = relation which = GRE value = -150 }
command = { type = relation which = SER value = -150 }
command = { type = relation which = ROM value = -150 }


}
}
 
Thanks for the answer but you misunderstood me. Though I had not thought of. What I had in mind was that the ROM, BUL, is through this event receive an event so they end up in alliance with RUS if they are not puupet then causes trouble for all of it mixed with other countries like AUS and HUN and so on.
 
You're using the puppet trigger in the wrong way. Try this:
command = { trigger = { exists = ROM NOT = { ispuppet = ROM } } type = trigger which = 977051 }
command = { trigger = { exists = BUL NOT = { ispuppet = BUL } } type = trigger which = 977052 }
command = { trigger = { exists = SER NOT = { ispuppet = SER } } type = trigger which = 977053 }
command = { trigger = { exists = GRE NOT = { ispuppet = GRE } } type = trigger which = 977054 }
command = { trigger = { exists = ALB NOT = { ispuppet = ALB } } type = trigger which = 977055 }