Hi !
For many events, i use the setflag and clr flag command to help me for triggering some events. By this mean, i'm avoiding some script lines
For exemple, i create this event :
But this event never happens. I was thinking that a flag trigger could be use for every countries, but i seems that it can serve only for the country which had the setflag command. Am I wrong ?
Is it possible to improve FTG to use a flag trigger for all countries ?
For many events, i use the setflag and clr flag command to help me for triggering some events. By this mean, i'm avoiding some script lines
For exemple, i create this event :
with this event, Charles V of France support the papacy of Avignon. after that, i wanted that every french minors follow its suzerain, like this...#Support for the Avignon Papacy
event = {
id = 101001
trigger = {
event = 100
}
random = no
country = FRA
name = "Le schisme d'occident"
desc = " "
date = { day = 15 month = november year = 1378 }
offset = 15
deathdate = { day = 1 month = january year = 1417 }
action = {
name = "Soutien à Clément VII"
ai_chance = 80
command = { type = religion which = avignon_catholic }
command = { type = setflag which = [schism] }
command = { type = relation which = PAP value = -150 }
}
action = {
name = "Urbain VI est le vrai pape"
ai_chance = 20
command = { type = relation which = PAP value = 50 }
}
}
event = {
id = 101002
trigger = {
flag = [schism]
}
random = no
country = BUR
name = "Le schisme d'occident"
desc = "Suite au choix de Charles V, les ducs français durent suivre l'opinion de leur souverain."
date = { day = 1 month = december year = 1378 }
offset = 15
deathdate = { day = 1 month = january year = 1417 }
action = {
name = "Soutien à Clément VII"
ai_chance = 80
command = { type = religion which = avignon_catholic }
command = { type = relation which = PAP value = -50 }
}
action = {
name = "Urbain VI est le vrai pape"
ai_chance = 20
command = { type = relation which = PAP value = 50 }
command = { type = relation which = FRA value = -50 }
}
}
But this event never happens. I was thinking that a flag trigger could be use for every countries, but i seems that it can serve only for the country which had the setflag command. Am I wrong ?
Is it possible to improve FTG to use a flag trigger for all countries ?