About the council voting on targeted_decision. I've made it so that they should work similar to the character interactions. So first off you need to tell the council that they can vote on the decision. This is done by adding a law with the following line in the effects: "enable_council_voting_on_issue = my_targeted_decision". Alternatively you can have your decision only being voted on during regencies by adding it's name to the REGENCY_VOTING define under NCouncil and not adding a law for it.
After that is done the council can vote on the decision. However to get them to have an opinion in how they vote you'll need to add voting patterns for your decision. These are manipulated inside the common/council_voting folder. These scripts are basically a collection of triggers that are checked in a specific order determined by the voters position and defined in the common/voter_postions folder. To add a trigger for your decision just go into the files for relevant patterns and add your decision name into the script in the same manner as laws and character interactions.
e.g.
Code:
selfish_pattern_for = {
icon = 9
pattern_type = for
my_targeted_decision = {
spouse = {
character = FROMFROMFROM # Targeted Character
}
}
...
}
This would make a councilor vote for the decision if it was made targeting the councilor's wife, unless an earlier pattern would make the councilor vote in another fashion. There are some more quirks around the new voting system but I think some of the modders have figured most of it out however I'll keep an eye out if there are questions lingering unanswered about voting patterns on the forum every now and then.
About the scopes available for targeted_decision voting patterns:
ROOT is the voter.
FROM is the owner of the council that is voting on the issue.
FROMFROM is the vote starter.
FROMFROMFROM is the character targeted by the decision.
(for now FROM and FROMFROM will be the same character but I might have some plans to be able to determine on decision by decision basis if it's the current characters council or the liege's council that should vote on the issue)
And to answer the previous question this will only work on character decisions from the beginning. It's a bit messy to get all of the scopes to setup correctly since decisions are still a bit different than character interactions but I do believe that at least the title decision would be useful to have council voting on but it's quite a daunting task.