Okay, I need some help with my mod in regards to scripting, I know very little on the subject, but at least I am trying.
I want a character to be sent off map for a few turns, but only when the player accepts, much in the same way as one can find in the Kingdoms British Isles campaign.
The faction is England, he has the correct trait, morkinquest and the correct label, morkin1. When I start the campaign no window pops up to request the character leave at all.
So what have I done wrong? I assume it is something silly that only a novice would do. I appreciate any help given.Code:declare_counter morkin_quest_offered declare_counter morkin_questing monitor_event CharacterTurnStart Trait morkinquest = 1 and I_CompareCounter morkin_quest_offered = 0 set_counter send_morkin_accepted 0 and I_TurnNumber = 0 add_events event counter morkin_quest_invite_accepted event counter morkin_quest_invite_declined event counter morkin_questing end_add_events historic_event morkin_quest_invite true factions { england, } set_counter morkin_quest_offered 1 if I_IsFactionAIControlled england set_event_counter morkin_quest_invite_accepted 1 end_if terminate_monitor end_monitor monitor_conditions I_EventCounter morkin_quest_invite_accepted = 1 send_character_off_map morkin1 set_counter morkin_questing 1 historic_event morkin_leaves_for_quest terminate_monitor end_monitor monitor_conditions I_EventCounter morkin_questing = 1 and I_TurnNumber = 4 spawn_army faction england character Morkin, named character, male, heir, age 19, x 33, y 40, label morkin1, portrait morkin traits brave 5 , handsome 1 unit Free Horse Bodyguard exp 3 armour 1 weapon_lvl 0 end terminate_monitor end_monitor![]()




Reply With Quote





