Hi
I was trying to use the 'exists' command as follows (this was a test only). However the game time freezes on Jan 2nd 1936 when playing the single player as the USA (1936 scenario). Any idea what I'm doing wrong?
The following is the code I was using which I added to the end of the USA.txt file in the events folder.
#########################################################################
# Nations are expanding - France elimination
#########################################################################
event = {
id = 3700001
random = no
country = USA
trigger = {
NOT = {
exists = FRA
}
}
date = { day = 1 month = january year = 1936 }
deathdate = { day = 30 month = december year = 1947 }
name = "country FRA Eliminated"
desc = "Country FRA Eliminated"
style = 0
action_a = {
name = "Nations are expanding we may need to take action"
command = { type = warentry value = 1 }
}
}
I was trying to use the 'exists' command as follows (this was a test only). However the game time freezes on Jan 2nd 1936 when playing the single player as the USA (1936 scenario). Any idea what I'm doing wrong?
The following is the code I was using which I added to the end of the USA.txt file in the events folder.
#########################################################################
# Nations are expanding - France elimination
#########################################################################
event = {
id = 3700001
random = no
country = USA
trigger = {
NOT = {
exists = FRA
}
}
date = { day = 1 month = january year = 1936 }
deathdate = { day = 30 month = december year = 1947 }
name = "country FRA Eliminated"
desc = "Country FRA Eliminated"
style = 0
action_a = {
name = "Nations are expanding we may need to take action"
command = { type = warentry value = 1 }
}
}