• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Try to use this:

Effects
Code:
save_event_target_as - Saves the current scope as an arbitrarily-named target to be referenced later in the (unbroken) event chain
save_event_target_as = <string>/<string@scope>
Supported Scopes: all

save_global_event_target_as - Saves the current scope as an arbitrarily-named target to be referenced later, accessible globally until cleared
save_global_event_target_as = <string>/<string@scope>
Supported Scopes: all

clear_global_event_target - Deletes the specified saved global target reference
clear_global_event_target = <string>/<string@scope>
Supported Scopes: all

event_target - Scope as an arbitrarily named target referred to above.
event_target:<string>/<string@scope>
Supported Scopes: all

set_planet_flag - Sets an arbitrarily-named flag on the scoped planet
set_planet_flag = <key> (note: one can use e.g. my_flag@from to track relationships between objects)
Supported Scopes: planet

remove_planet_flag - Removes a flag from the scoped planet
remove_planet_flag = <key> (note: one can use e.g. my_flag@from to track relationships between objects)
Supported Scopes: planet

set_timed_planet_flag - Sets an arbitrarily-named flag on the scoped planet for a set duration
set_timed_planet_flag = {
    flag = <key> (note: one can use <key>@scope e.g. my_flag@from to track relationships between objects)
    days/months/years = <int>/<variable>
}
Supported Scopes: planet

Triggers
Code:
event_target - Scope as an arbitrarily named target referred to above.
event_target:<string>/<string@scope>
Supported Scopes: all

has_planet_flag - Checks if the planet has a specific flag
has_planet_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects)
Supported Scopes: planet

To be able to use different planets within a situation event you need flags to refer to them. Once a particular planet is chosen with a specific flag, you can use "save_event_target_as" to be able to refer to it in future correlative events, or use "save_global_event_target_as" for future non-correlative events.