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

Grell74

Captain
11 Badges
May 5, 2004
445
334
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Deus Vult
  • Divine Wind
  • Europa Universalis IV
  • Heir to the Throne
  • Europa Universalis: Rome
  • Sword of the Stars
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Pre-order
I am working on a whole bunch of historical events (I can just hear the outraged cries of determism... not an historical simulation... blah... blah). But I am a great fan of these (loved Stony Road for HOI).

However I have hit a brick wall with my Muslim Kingdom creation events. Using the create_tag value = ALMO I can get the Mamlukes, Almohads, Ayyubis, etc cranking but without claims they are ineffectula (no matter how many free troops I give them). Can anyone tell me why this effect doesnt work:

effect = { type = add_title_claim value = MURA }

It will load up fine and the event will fire OK, there are no crashes or anything, however the claim is not given. Is there something obvious I am missing? If the following works:

effect = { type = add_title_claim value = random_neighbor }

Why cant I have value = specific titles?
 
You can only use valid targets for event effects which are the ones listed at the top of the event_effects.txt file.

spouse
father
mother
random_son
worst_son
best_son
ruler
steward
chancellor
marshal
spymaster
chaplain
random_courtier
worst_courtier
best_courtier
knight
liege
random_vassal
worst_vassal
best_vassal
random_neighbor
worst_neighbor
best_neighbor
random_enemy

Using it for the add_title_claim will give the character for whom the event is firing a claim on the highest title held by the target. IIRC if no title is held you get a CTD (and at very least it becomes a meaningless event) so you need to ensure that the target holds a title by checking for this (usually via csc) somewhere in the trigger.
 
How's the historical events mod coming along, Grell?