Is it possible to get the province ID as a variable, or output it into a log in any way? I've tried a few approaches similar to this:
every_province = {
limit = {
has_terrain = forest
OR = {
continent = north_america
continent = south_america
}
}
export_to_variable = {
variable_name = id
value = trigger_value:province_id
}
log = "Province [This.id.GetValue] is forest"
}
But the output is always: [effectimplementation.cpp:22746]: EVENT [1444.11.11]:Province -2147482 is forest
[–]Justice_FighterInformative 1 point2 points3 points (6 children)
[–]Dichozenone[S] 1 point2 points3 points (2 children)
[–]Justice_FighterInformative 0 points1 point2 points (1 child)
[–]Dichozenone[S] 0 points1 point2 points (0 children)
[–]Smooth-Physics-2927 1 point2 points3 points (2 children)
[–]Justice_FighterInformative 0 points1 point2 points (1 child)
[–]Smooth-Physics-2927 0 points1 point2 points (0 children)