• 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.
What kind of interaction you wanted to make?
I'll show how and explain it.
I mainly want to know what is what.

assassinate_scheme = {

on_other_nation = no
on_own_nation = yes
message = no

sound = "event:/SFX/UI/Character/Generic/sfx_ui_character_war"

potential_trigger = {
Who is this section for (applicant or recipient)
}

allowed_trigger = {
Who is this section for (applicant or recipient)
}

character_actor_trigger = {
what is it for in addition to the rest?
}

effect = {

}

}

What is the difference between scope:target and scope:actor
 
Here's what I've found out.

Character Interactions can be considered to happen from the perspective of the Country.
So here "on_other_nation = no" means that characters outside that country cannot be targeted.
"on_own_nation = yes" means that characters within that country can be targeted.

(EDIT: So in game if you're looking at characters outside your nation, this interaction will not show up on them no matter what
since the above take precedence over any potential_triggers)

scope:actor is the scope for the country the point of view of which the action is taken.
scope:target is the target character of the action.
character_actor_trigger = { } defines what sort of characters can be selected from a character selection pop-up.
(Sort of a third party target)
scope:recipient is the scope of the third party target above.

Not all Character Interactions have third party targets that you can select from a popup list.
Most of them only deal with the scope:actor country and scope:target character directly.

The assassination scheme works as follows.

Code:
    potential_trigger = {
        hidden:scope:target = {
            is_ruler = yes
            employer = scope:actor
        }
    }

Means that this Character Interaction is only visible when you are viewing the Ruler of your nation.
(The target of the action is a ruler and his/her employer is the country actor)

The "allowed_trigger = { }" block defines then the cases where this action is or is not allowed.
So even if the action is visible when targeting that character, it may be greyed out if not allowed.
(In game you can mouse over to find out the conditions blocking it)

You can use the prefix hidden: to hide that scope block from the player so that it's not shown in game.

The "character_actor_trigger = { }" block in this Interaction then prompts you to select the target of this action's target,
i.e. you will target your ruler who will then initiate a scheme to assassinate the selected third party target.

The "effect = { }" block details what will happen and to which scope.
Even if a Character Interaction can be generally considered to take place from the point of view of the Country
you will actually still need to specify scope:actor = { } blocks for effects happening to the country
and scope:target = { } for the target character.

Additionally this event has a scope:recipient = { } which is the third party target corresponding to the character_actor_trigger.
 
Last edited:
  • 1
Reactions:
Here's what I've found out.

Character Interactions can be considered to happen from the perspective of the Country.
So here "on_other_nation = no" means that characters outside that country cannot be targeted.
"on_own_nation = yes" means that characters within that country can be targeted.

(EDIT: So in game if you're looking at characters outside your nation, this interaction will not show up on them no matter what
since the above take precedence over any potential_triggers)

scope:actor is the scope for the country the point of view of which the action is taken.
scope:target is the target character of the action.
character_actor_trigger = { } defines what sort of characters can be selected from a character selection pop-up.
(Sort of a third party target)
scope:recipient is the scope of the third party target above.

Not all Character Interactions have third party targets that you can select from a popup list.
Most of them only deal with the scope:actor country and scope:target character directly.

The assassination scheme works as follows.

Code:
    potential_trigger = {
        hidden:scope:target = {
            is_ruler = yes
            employer = scope:actor
        }
    }

Means that this Character Interaction is only visible when you are viewing the Ruler of your nation.
(The target of the action is a ruler and his/her employer is the country actor)

The "allowed_trigger = { }" block defines then the cases where this action is or is not allowed.
So even if the action is visible when targeting that character, it may be greyed out if not allowed.
(In game you can mouse over to find out the conditions blocking it)

You can use the prefix hidden: to hide that scope block from the player so that it's not shown in game.

The "character_actor_trigger = { }" block in this Interaction then prompts you to select the target of this action's target,
i.e. you will target your ruler who will then initiate a scheme to assassinate the selected third party target.

The "effect = { }" block details what will happen and to which scope.
Even if a Character Interaction can be generally considered to take place from the point of view of the Country
you will actually still need to specify scope:actor = { } blocks for effects happening to the country
and scope:target = { } for the target character.

Additionally this event has a scope:recipient = { } which is the third party target corresponding to the character_actor_trigger.
Thank you it's cool I will be able to move forward on this side. If I have a problem I will repost it but I think I understood.