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

IrishZoroastrian

Private
3 Badges
Jul 9, 2019
24
2
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
I'd want to fire off my own modded character event exactly after a vanilla event has fired.

E.g. childhood event "curious to shrewd" has just fired, and I'd like to mod in an extra event that happens right at the same time (overlapping), which gives the child an option which gives him 50% chance to become genius instead.

I am aware of on_action events, but they cover only some major ones, and many occasions are not included (i.e. above example). Any way to detect those minor events going off without overwriting their vanilla scripting?
 
If you're shy about pulling in the whole event file in your mod, AFAIK you can reference the individual event in your own file and it will replace/add your changes. Ive never tried it with events, but im certain you can do it for some other files, like culture or religion. Unfortunately not enough other people do it for it to be 100% useful for compatibility.
 
If you're shy about pulling in the whole event file in your mod, AFAIK you can reference the individual event in your own file and it will replace/add your changes. Ive never tried it with events, but im certain you can do it for some other files, like culture or religion. Unfortunately not enough other people do it for it to be 100% useful for compatibility.

Yeah, I've just done that. It's a shame we cannot add our own custom on_event, because replacing vanilla events will inevitably break compatibility with other mods.