Hello.
This is a part of a script that gives a chance to convert a faction from catholic to islam if the faction has been excommunicated.
It works perfect for the player, but It doesn't work for the AI.
I want the AI accepting the event automatically, but the "set_event_counter hreconversion_accepted 1" seems to be ignored.
Could anyone tell me what is wrong in my script please?
Thank you very much!
Code:declare_counter hreconversion monitor_event FactionExcommunicated FactionType hre if I_LocalFaction hre historic_event hreconversion true factions { hre, } end_if if not I_LocalFaction hre set_event_counter hreconversion_accepted 1 end_if terminate_monitor end_monitor






Reply With Quote






