how does this really work i mean when they show up I have modified so they should come a little closer to each other but they don't come at the time I want, they overlap each other and then when one finish his crusade the other dies. How can I do this?:hmmm:
;------------------- CRUSADING NOBLES -------------------;
;increment crusader spawn timers
monitor_event FactionTurnStart FactionType teutonic_order
inc_event_counter crusader1_timer 1
inc_event_counter crusader2_timer 1
inc_event_counter crusader3_timer 1
end_monitor
;monitor the alliance status of lithuania and the teutonic order
monitor_event FactionAllianceDeclared FactionType teutonic_order
and TargetFactionType lithuania
set_counter teutonic_lithuania_allied 1
end_monitor
monitor_event FactionAllianceDeclared FactionType lithuania
and TargetFactionType teutonic_order
set_counter teutonic_lithuania_allied 1
end_monitor
monitor_event FactionBreakAlliance FactionType teutonic_order
and TargetFactionType lithuania
set_counter teutonic_lithuania_allied 0
end_monitor
monitor_event FactionBreakAlliance FactionType lithuania
and TargetFactionType teutonic_order
set_counter teutonic_lithuania_allied 0
end_monitor
;spawn an army with the labelled character and 'adv_crusade' tagged unit
monitor_event FactionTurnStart I_EventCounter crusader1_timer >= 1
and I_EventCounter crusader1_timer <= 6
and I_CompareCounter teutonic_lithuania_allied = 0
and I_NumberOfSettlements lithuania > 0
and I_EventCounter lithuania_conversion_accepted = 0
set_counter crusader1_active 1
spawn_army
faction teutonic_order
character Ulrich Salier, admiral, age 31, x 57, y 53, direction SE
unit cog exp 0 armour 0 weapon_lvl 0
end
spawn_army
faction teutonic_order
character Charles, named character, x 57, y 53, label crus1, battle_model Adv_Northern_General_Eng
traits LoyaltyStarter 1, ReligionStarter 1, Upright 2, GoodAttacker 1, PublicFaith 2, EnglishCrusader 1
unit Adv English Bodyguard exp 0 armour 0 weapon_lvl 0
unit Adv Levy Spearmen exp 0 armour 0 weapon_lvl 0
unit Adv Levy Spearmen exp 0 armour 0 weapon_lvl 0
unit Adv Levy Spearmen exp 0 armour 0 weapon_lvl 0
unit Adv Feudal Knights exp 0 armour 0 weapon_lvl 0
unit Adv Feudal Knights exp 0 armour 0 weapon_lvl 0
unit Adv Dismounted Feudal Knights exp 0 armour 0 weapon_lvl 0
unit Adv Dismounted Feudal Knights exp 0 armour 0 weapon_lvl 0
unit Adv Dismounted Feudal Knights exp 0 armour 0 weapon_lvl 0
end
create_mission adventure_crusader teutonic_order crus1
create_mission kill_crusader lithuania crus1
terminate_monitor
end_monitor
monitor_event FactionTurnStart I_EventCounter crusader2_timer >= 15
and I_EventCounter crusader2_timer <= 20
and I_CompareCounter teutonic_lithuania_allied = 0
and I_NumberOfSettlements lithuania > 0
and I_EventCounter lithuania_conversion_accepted = 0
set_counter crusader2_active 1
spawn_army
faction teutonic_order
character Kurt, admiral, age 25, x 57, y 60, direction SE
unit cog exp 0 armour 0 weapon_lvl 0
end
spawn_army
faction teutonic_order
character Philipp, named character, x 57, y 60, label crus2, battle_model Adv_Northern_General_Fra
traits LoyaltyStarter 1, ReligionStarter 1, Loyal 3, BadAttacker 2, Girls 3, BadSiegeAttacker 2, FrenchCrusader 1
unit Adv French Generals Bodyguard exp 0 armour 0 weapon_lvl 0
unit Adv Religious Fanatics exp 0 armour 0 weapon_lvl 0
unit Adv Religious Fanatics exp 0 armour 0 weapon_lvl 0
unit Adv Religious Fanatics exp 0 armour 0 weapon_lvl 0
unit Adv Religious Fanatics exp 0 armour 0 weapon_lvl 0
unit Adv Dismounted French Archers exp 0 armour 0 weapon_lvl 0
unit Adv Dismounted French Archers exp 0 armour 0 weapon_lvl 0
unit Adv French Mounted Archers exp 0 armour 0 weapon_lvl 0
unit Adv Chivalric Knights exp 0 armour 0 weapon_lvl 0
unit Adv Chivalric Knights exp 0 armour 0 weapon_lvl 0
unit Adv Dismounted Chivalric Knights exp 0 armour 0 weapon_lvl 0
unit Adv Dismounted Chivalric Knights exp 0 armour 0 weapon_lvl 0
end
create_mission adventure_crusader teutonic_order crus2
create_mission kill_crusader lithuania crus2
terminate_monitor
end_monitor
monitor_event FactionTurnStart I_EventCounter crusader3_timer > 30
and I_EventCounter crusader1_timer <= 35
and I_CompareCounter teutonic_lithuania_allied = 0
and I_NumberOfSettlements lithuania > 0
and I_EventCounter lithuania_conversion_accepted = 0
set_counter crusader3_active 1
spawn_army
faction teutonic_order
character Ortwinus, admiral, age 38, x 53, y 53, direction S
unit holk exp 0 armour 0 weapon_lvl 0
end
spawn_army
faction teutonic_order
character Henry, named character, x 53, y 53, label crus3, battle_model Adv_Northern_General_Eng
traits LoyaltyStarter 1, ReligionStarter 1, Upright 1, Drink 5, Stoic 1, Just 1, EnglishCrusader 1
unit Adv English Late Bodyguard exp 0 armour 0 weapon_lvl 0
unit Adv Longbowmen exp 0 armour 0 weapon_lvl 0
unit Adv Longbowmen exp 0 armour 0 weapon_lvl 0
unit Adv Longbowmen exp 0 armour 0 weapon_lvl 0
unit Adv Longbowmen exp 0 armour 0 weapon_lvl 0
unit Adv English Knights exp 0 armour 0 weapon_lvl 0
unit Adv English Knights exp 0 armour 0 weapon_lvl 0
unit Adv Dismounted English Knights exp 0 armour 0 weapon_lvl 0
unit Adv Dismounted English Knights exp 0 armour 0 weapon_lvl 0
end
create_mission adventure_crusader teutonic_order crus3
create_mission kill_crusader lithuania crus3
terminate_monitor
end_monitor
monitor_event MissionFinished MissionID adventure_crusader
;kill the adventure crusader
if I_CompareCounter crusader1_active = 1
kill_character crus1
destroy_units teutonic_order adv_crusade_eng
set_counter crusader1_active 0
end_if
if I_CompareCounter crusader2_active = 1
kill_character crus2
destroy_units teutonic_order adv_crusade_fra
set_counter crusader2_active 0
end_if
if I_CompareCounter crusader3_active = 1
kill_character crus3
destroy_units teutonic_order adv_crusade_eng
set_counter crusader3_active 0
end_if
;kill his units
end_monitor




Reply With Quote




