Code:
;spawn an army with the labelled Slaver character
monitor_event FactionTurnStart I_EventCounter dres_slaver1_timer >= 0
and I_CompareCounter dres_argonians_allied = 0
and I_EventCounter dres_slaver1_timer <= 5
and I_NumberOfSettlements russia > 0
and I_IsFactionAIControlled hungary
and I_IsFactionAIControlled milan
and I_IsFactionAIControlled sicily
and I_IsFactionAIControlled poland
and not I_PlayerHasMission dunmer_slaver
and FactionBuildingExists >= slavers_guild
set_counter dres_slaver1_active 1
if FactionBuildingExists = slavers_guild
and not FactionBuildingExists >= m_slavers_guild
spawn_army
faction timurids
character Eris, admiral, age 38, x 396, y 94, direction S
unit cog exp 0 armour 0 weapon_lvl 0
end
spawn_army
faction timurids
character random_name, named character, x 396, y 94, label dres1
traits Dunmer 1, LoyaltyStarter 1 , GoodCommander 1 , ReligionStarter 1 , HighPersonalSecurity 3, GoodAttacker 1 , Loyal 1 , ReligionStarter 1, Intelligent 1, Aesthetic 1, PublicFaith 1
unit Dres Bodyguard exp 0 armour 0 weapon_lvl 0
end
end_if
if FactionBuildingExists = m_slavers_guild
and not FactionBuildingExists = gm_slavers_guild
spawn_army
faction timurids
character Eris, admiral, age 38, x 396, y 94, direction S
unit holk exp 1 armour 0 weapon_lvl 0
end
spawn_army
faction timurids
character random_name, named character, x 396, y 94, label dres1
traits Dunmer 1, LoyaltyStarter 1 , GoodCommander 2 , ReligionStarter 1 , HighPersonalSecurity 3, GoodAttacker 1 , Loyal 1 , NaturalMilitarySkill 1 , GoodDefender 1 , ReligionStarter 1, Intelligent 1, GoodRiskyAttacker 1, PublicFaith 1, StrategyDread 1, BattleDread 1
unit Dres Bodyguard exp 2 armour 1 weapon_lvl 1
unit Dres Men At Arms exp 1 armour 1 weapon_lvl 0
unit Dres Bowmen exp 1 armour 1 weapon_lvl 0
end
end_if
if FactionBuildingExists = gm_slavers_guild
spawn_army
faction timurids
character Eris, admiral, age 38, x 396, y 94, direction S
unit galleass exp 2 armour 0 weapon_lvl 0
end
spawn_army
faction timurids
character random_name, named character, x 396, y 94, label dres1
traits Dunmer 1, LoyaltyStarter 1 , GoodCommander 3 , , HighPersonalSecurity 3, ReligionStarter 1 , GoodAttacker 2 , Loyal 2 , NaturalMilitarySkill 2 , GoodDefender 2 , ReligionStarter 1, Intelligent 2, GoodRiskyAttacker 2, PublicFaith 1, StrategyDread 2, BattleDread 2
unit Dres Bodyguard exp 4 armour 2 weapon_lvl 2
unit Dres Raiders exp 2 armour 1 weapon_lvl 1
unit Dres Javelinmen exp 2 armour 1 weapon_lvl 1
end
end_if
create_mission dunmer_slaver timurids dres1
create_mission kill_dunmer_slaver russia dres1
terminate_monitor
end_monitor