My event is supposed to only target empires that have surveyed a certain system, but for some reason it targets all of them regardless of whether or not they have surveyed it.
I tried "is_surveyed = { who = prev }" but then the country event didn't fire at all. What am I doing wrong?
EDIT: I got it to work using the following:
Code:
every_country = {
limit = {
is_country_type = default
event_target:supernova_system_scan_target = { is_surveyed = { who = this status = yes } }
}
country_event = { id = mzilli_supernova.10 }
}
I tried "is_surveyed = { who = prev }" but then the country event didn't fire at all. What am I doing wrong?
EDIT: I got it to work using the following:
Code:
every_country = {
limit = { is_country_type = default }
save_global_event_target_as = supernova_system_scanner
if = {
limit = { event_target:supernova_system_scan_target = { is_surveyed = { who = event_target:supernova_system_scanner status = yes } } }
country_event = { id = mzilli_supernova.10 }
}
clear_global_event_target = supernova_system_scanner
}
Last edited: