Hmm... I can't use the enter button to skip down a line anymore since the update here, so sorry for the lack of paragraphs and spacing. But my problem is with the above text in campaign_script. I've had some success with scripting, changing settlements names upon being conquered etc. But with the above, what I wanted to do was offer a human player playing as Scotland the option to Anglicize. The idea was to have a message pop up which they could accept or decline, and if they accept it, their settlement names would change from Gaelic to English form. If you are wondering why these effects aren't in it, I just left the camero shift there to test if the framework I had was working. Sadly it isn't, since upon the second turn when this script activates, I get a CTD. My attempt there is based upon a TATW script that offered the player an accept/decline decision. But it's really hard to find info on how to do this. Any ideas where I've gone wrong? ***EDIT*** I removed the historic event line, and that stopped the CTD, but nothing triggers at all at the end of turn 2 now.Code:declare_counter anglicization_offered monitor_event FactionTurnStart FactionType scotland and not IsFactionAIControlled and I_TurnNumber >= 2 and I_CompareCounter anglicization_offered = 0 add_events event counter anglicization_accepted event counter anglicization_declined end_add_events historic_event anglicization true factions { scotland, } set_counter anglicization_offered 1 terminate_monitor end_monitor ;----------------- accept ------------------------------------ monitor_conditions I_EventCounter anglicization_accepted = 1 and I_LocalFaction scotland move_strat_camera 280, 50 terminate_monitor end_monitor ;------------------ reject ------------------------------------ declare_counter union_rejected monitor_conditions I_EventCounter anglicization_declined = 1 and I_LocalFaction scotland set_counter anglicization_declined 1 terminate_monitor end_monitor



Reply With Quote








































