Okay, I managed to fix the crashing event problem... now all that there is is the specific problem with the event above.
Anyone have any ideas?
Anyone have any ideas?
Originally posted by XieChengnuo
Okay, I managed to fix the crashing event problem... now all that there is is the specific problem with the event above.
Anyone have any ideas?
Originally posted by Styrbiorn
It lacks a date, yet it have offset. If another event is supposed to trigger that event immidiately, remove the trigger and offset. If the event is supposed to occur a bit after the triggering event, add date, offset and deathdate and let the trigger condition be left. In the triggering event (20041) add sleepevent commands in those choices that are not supposed to trigger 20042.
However the problem causing the syntax is that you miss a " in front of the first action name
The Chinese republic do have a tag: U14.
Short summer? Oh. I forget. You live in Sweden.Originally posted by Styrbiorn
I'll take a look at it when I'm back tonight. I'm off all day now though (gotta be outside now when the short summer finaly is here).
Originally posted by Phillip V
Short summer? Oh. I forget. You live in Sweden.![]()
![]()
Originally posted by Languish
Dont forget to link the events, where necessary, in with the Korean and Japanese events already written. Many of them correctly involve china... heavily so... on occassion.
#########Annam AoN Major Events#########
# By Shawn Tse #
########################################
#Asking for Chinese Help#
event = {
id = 16501
random = no
country = CHI
name = "The seizure of Hanoi"
desc = "Hanoi was seized by the french. The King in effect was forced to transfer his allegiance from China to France, whose rights in Cochin China and Cambodia were formally admitted and whose foreign policy he bound himself to follow. He also promised to protect all foreign missionaries in his territories. The French, following the agreement with the King of Annam, withdrew from Hanoi."
style = 1
trigger = {
control = { province = 662 data = FRA }
}
action_a = {
name = "Ask for help from the Chinese"
command = { type = relation which = CHI value = 50 }
command = { type = relation which = FRA value = -50 }
command = { type = INF which = 662 value = 15000 }
command = { type = CAV which = 662 value = 15000 }
command = { type = ART which = 662 value = 50 }
command = { type = leader which = 16492 }
command = { type = trigger which = 19996 } #Chinese help is coming#
}
action_b = {
name = "Go with the French"
command = { type = relation which = NIP value = -50 }
command = { type = relation which = KOR value = 50 }
command = { type = breakvassal which = KOR }
}
}1