First off, thanks for your help guys. Here is my next question, if you look at the below two events here is the problem I am having, how do I get event 77704 to fire only if event 77703 action_a is chosen?
Code:
##########################################################
### Governor Murphy Reacts
### By Micah Goodman
##########################################################
event = {
id = 77703
random = no
country = USA
trigger = {
event = 77702
}
name = "Governor Murphy Reacts"
desc = "When Michigan governor Frank Murphy was informed of the riot in Flint, he ordered the National Guard to deal with the issue. Initially, the Governor took a harsh stance against the strikers. However, the Governor never used the National Guard to break the strike."
style = 0
picture = "major_worker_strike"
date = { day = 12 month = january year = 1937 }
action_a = {
name = "Send the Guard to Maintain order"
ai_chance = 80
command = { type = dissent value = 1 }
}
action_b = {
name = "Crush the Strike"
ai_chance = 20
command = { type = dissent value = 5 }
command = { type = construct which = ic where = 670 value = 1 } # Atlanta
command = { type = construct which = ic where = 616 value = 2 } # Detroit
command = { type = construct which = ic where = 615 value = 1 } # Cleveland
command = { type = construct which = ic where = 628 value = 1 } # Columbus Ohio
}
}
###########################################################
### UAW Wins strike
### By Micah Goodman
###########################################################
event = {
id = 77704
random = no
country = USA
trigger = {
}
name = "UAW settles with GM"
desc = "Governor Murphy ordered the National Guard to cordon off the plant in Flint and allowed no one into the plant. He even blocked shipments of food into the plant in an attempt to starve out the workers. The workers promptly declared a hunger strike. GM officials had hoped that the Governor would order troops into the plant to forcibly remove the workers; the Governor however,refused. F.D.R. appealed to both sides to return to the bargaining table. On Feb. 11, 1937 both sides reached an agreement. The union won almost all of their demands. First and foremost was that the UAW was the only union that GM could deal with."
style = 0
date = { day = 12 month = february year = 1937 }
action_a = {
name = "Let's get back to work!"
command = { type = dissent value = -6 }
command = { type = construct which = ic where = 670 value = 2 } # Atlanta
command = { type = construct which = ic where = 616 value = 3 } # Detroit
command = { type = construct which = ic where = 615 value = 1 } # Cleveland
command = { type = construct which = ic where = 628 value = 2 } # Columbus Ohio
}
}