REMOVED
I'm stupid, I didn't realise that an event fired from within an effect/function inherits the variables of it's invoker. For example:
I'm stupid, I didn't realise that an event fired from within an effect/function inherits the variables of it's invoker. For example:
Code:
effect = {
save_event_target_as = foobar
country_event = { id = example.1 }
}
...
country_event = {
id = example.1
#.....#
immediate = {
foobar = {
#do a thing
}
}
}
Last edited: