• 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.

Dignitas

Sergeant
3 Badges
Aug 12, 2002
64
0
Visit site
  • Europa Universalis III
  • Hearts of Iron III
  • 500k Club
Event assassination changes "Player Character"

I, the King of Scotland, Duncan Dunkeld was assassinated by my daughter Joan, who is also my Spy Master, during the "a dagger in the dark" event. The event fired, my king died, young Joan got the kinslayer trait and my Kings son inherited. Everything fine so far.
But from then on, all Player Character Events that are meant to be focused on my monarch, were focused on Joan instead. For example the "you are obliged to loan money from moneylenders"-event. It no longer changes the piety and money of my monarch, but of little young Joan.
 
Upvote 0
Edited two of my children to satisfy the event conditions. One male, one female. Gave both the deceitful trait, set age > 25 and intrigue > 10.

Code:
##########################
# A dagger in the dark!  #
##########################

character_event = {
	id = 1199
	picture = "event_crime"
	
	trigger = { 
#		condition = { type = random_son }
		condition = { type = age value = 25 }
		condition = { type = intrigue value = 10 }
		condition = { type = trait value = deceitful }
	}


Event is not supposed to be triggered by daughters, only sons.

Triggered event 1199 in console for each character. Neither got a "trigger unsatisfied" message. Seems as if "condition = { type = random_son }" is not working.

I did not experience the misplaced prestige/piety that you did. That may be an issue related to your game. Can you reproduce the circumstances and see if it happens again?
 
This event is only supposed to trigger for sons? I've had it trigger for all sorts of people, including randomly generated (parentless and relative-less) courtiers, random cousins, men, women, etc. It's definitely not restricted to sons as it currently works.
 
Dignitas said:
I, the King of Scotland, Duncan Dunkeld was assassinated by my daughter Joan, who is also my Spy Master, during the "a dagger in the dark" event. The event fired, my king died, young Joan got the kinslayer trait and my Kings son inherited. Everything fine so far.
But from then on, all Player Character Events that are meant to be focused on my monarch, were focused on Joan instead. For example the "you are obliged to loan money from moneylenders"-event. It no longer changes the piety and money of my monarch, but of little young Joan.


Even though it says "You" the event is aimed at the correct character. Joan evidently went into debt (dagger was costly?) and the moneylender event was aimed at her. Check to see how much gold she has.
 
CaBhaal said:
Code:
	trigger = { 
#		condition = { type = random_son }
		condition = { type = age value = 25 }
		condition = { type = intrigue value = 10 }
		condition = { type = trait value = deceitful }
	}
Event is not supposed to be triggered by daughters, only sons.

Triggered event 1199 in console for each character. Neither got a "trigger unsatisfied" message. Seems as if "condition = { type = random_son }" is not working.
It's working alright, look at the code, there is a # at the beginning of the line, which means this line has been commented and is not parse by the scripting engine :D

Cat
 
Jinnai said:
Poor daughter. Helping your son beomce king by assasinting the current king and going into debt...makes you almost want to shed a tear at her loyalty.
As I understood the original post, this resourceful daughter killed her father to make place for her brother, not for her son?

No matter which, it is that sort of innovative shortcuts to real problems that drive the world towards a brighter future. She should be an inspiration to us all.

Cheers, Joan! :)
 
Peter Ebbesen said:
As I understood the original post, this resourceful daughter killed her father to make place for her brother, not for her son?

No matter which, it is that sort of innovative shortcuts to real problems that drive the world towards a brighter future. She should be an inspiration to us all.

Cheers, Joan! :)

I'll drink to that........ does anyone else smell burnt almonds?

M
 
Anyway, there is a bug there, as it could trigger even if the father is already dead, as it is...

I'll look into it.

Cat