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

unmerged(92417)

Sergeant
7 Badges
Feb 6, 2008
51
0
  • Crusader Kings II
  • Europa Universalis III Complete
  • Divine Wind
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis: Rome
  • Warlock: Master of the Arcane
Just curious - would it be possible to create events that give you a choice of executing disloyal courtiers (for role-playing purposes, like having a 'cruel' king)? Sorry if this has been addressed before. I was thinking of trying my hand at some event writing, and thought this would be a good series of events to start with.
 
Quite possible if you do it in two events. One to have the liege pick an action, which launches an event for the worst_courtier (most disloyal courtier) like this:
effect = { type = trigger for = worst_courtier value = 123456 }
Event 123456 would then have as its effect effect = { type = death }.

There is no way to pick an individual courtier, but the above should always work for the most disloyal one (although there is no guarantee this is not the ruler's son/wife/marshall etc.).
 
Ok, I got a simple event working, but I am having trouble with the event text. The event titles and one of the actions shows up, but the other 2 actions do not. Will every line of text have the same format, with the ;;;;;;;;;X on the end?
 
Yes. Also ensure that you do not remove the #EOF;;;;;;;;;;;X from the end of the file.

Example:
Code:
EVT_123456_NAME;This is a very nice event I just wrote;;;;;;;;;;X
ACTIONNAME123456A;Action A is pretty cool;;;;;;;;;;X
ACTIONNAME123456C;So is action B;;;;;;;;;;X
ACTIONNAME123456C;But action C sucks;;;;;;;;;;X

Note that if any of the event action's is not action_a, action_b etc. but an immidiate, any action name will be ignored.