Hi there,
I'm working through a custom mod for the Britannia campaign of Kingdoms but am at a loss as to what I am doing wrong when trying to trigger & display an event inclusive of pop-up message after the forced death of my factions heir...
I'm using the following bit of script in campaign_script:
...in addition to this I have entered the following into historic_events (at the bottom):Code:;below command kills John I De Balliol (Snr) after turn 2 monitor_event FactionTurnStart I_TurnNumber = 2 if I_CharacterExists John de_Balliol console_command kill_character "John de_Balliol" add_events event historic family_death date 0 0 end_add_events end_if terminate_monitor end_monitor
...aswell as this description in descr_events, again at the very bottom of the file:Code:the debate to a close, as well as establish a trade lane that is most lucrative. {WORLD_IS_ROUND_TITLE}The World is Round {FAMILY_DEATH_BODY}A member of the royal bloodline has died. {FAMILY_DEATH_TITLE}Royal Lineage Death
I have also included a .tga file (family_death.tga) in the data\ui\northern_european\eventpics folder and subsequent folder for each of south_euro, east_euro cultures in both the mod folder and externally in the main parent M2TW folder. (I've stuck it in all the folders now to cover all the possible bases as it wasn't working when entered in northern_europeanCode:event historic family_death date 253)
But it just isn't working, I get booted from the game with an error message of "unspecified error" and the system.log file says the same.
I have been able to get it to work when using one of the existing default historic events (first_piano) but not any of my own creation.
In the long run I'd like to have it involve a standard event (generic character_dies_natural event) as occurs for "non-console forced" deaths but thought I would attempt the easier historic event method first - but still managed to fail
I've looked through numerous tutorials and other requests for help on the same and similar topics but nothing stands out on for what I am doing wrong... is it the fact this is a mod for kingdoms and not vanilla? I'm beginning to think that I am looking at it too hard and so might not being seeing the wood for the trees, so any help or advice would be greatly appreciated!!!





Reply With Quote






