There are 2 scripts in DLV which sometimes don't work.
This is a script for reconciling or imprisoning a rebellious family member:
This one is to retire a career general so he can become a governer:Code:;------------------------------------Dungeon-------------------------------------- monitor_event CharacterTurnEnd FactionIsLocal and not IsFactionLeader and Trait Disobedient >= 1 and Trait Reconciled_to_his_King < 1 and Trait Thrown_in_Dungeon < 1 and FactionLeaderTrait Seat_of_Power > 0 and EndedInSettlement and SettlementBuildingExists >= dungeon historic_event dungeon_prepare end_monitor monitor_event CharacterSelected CharacterIsLocal and not IsFactionLeader and Trait Disobedient >= 1 and Trait Reconciled_to_his_King < 1 and Trait Thrown_in_Dungeon < 1 and FactionLeaderTrait Seat_of_Power > 0 and EndedInSettlement and I_EventCounter dungeon_prepare = 1 historic_event dungeon true set_event_counter dungeon_prepare 0 set_counter dungeon_decided 1 end_monitor monitor_conditions I_EventCounter dungeon_accepted = 1 and I_CompareCounter dungeon_decided = 1 e_select_character console_command give_trait this Thrown_in_Dungeon 1 inc_counter gov_points -1 set_counter dungeon_decided 0 end_monitor monitor_conditions I_EventCounter dungeon_declined = 1 and I_CompareCounter dungeon_decided = 1 e_select_character console_command give_trait this Reconciled_to_his_King 1 console_command add_money -3000 set_counter dungeon_decided 0 end_monitor
Does anyone have any ideas why these might not work? Things to check?Code:;------------------------------------Retire General to Governor-------------------------------------- monitor_event CharacterTurnEnd FactionIsLocal and not IsFactionLeader and Trait Not_Retired < 1 and Trait Retired < 1 and Trait Path_General >= 1 and FactionLeaderTrait Seat_of_Power > 0 and CharacterAge > 59 and EndedInSettlement and SettlementBuildingExists >= town_hall historic_event retire_prepare end_monitor monitor_event CharacterSelected CharacterIsLocal and not IsFactionLeader and Trait Not_Retired < 1 and Trait Retired < 1 and Trait Path_General >= 1 and FactionLeaderTrait Seat_of_Power > 0 and CharacterAge > 59 and EndedInSettlement and I_EventCounter retire_prepare = 1 historic_event retire true set_event_counter retire_prepare 0 set_counter retire_decided 1 end_monitor monitor_conditions I_EventCounter retire_accepted = 1 and I_CompareCounter retire_decided = 1 e_select_character console_command give_trait this Retired 1 console_command remove_trait this Path_General 1 console_command give_trait this Path_Governor 1 console_command add_money -1000 set_counter retire_decided 0 end_monitor monitor_conditions I_EventCounter retire_declined = 1 and I_CompareCounter retire_decided = 1 e_select_character console_command give_trait this Not_Retired 1 set_counter retire_decided 0 end_monitor




Reply With Quote







