I have several factions set to spawn on different events. EG.
Spoiler Alert, click show to read:
monitor_event GeneralCaptureSettlement SettlementName Antioch
add_events
event emergent_faction antioch
date 0
region Antioch_Province
end_add_events
spawn_army
faction antioch
character Bohemond, named character, age 35, x 451, y 71, family, portrait bohemond,
traits GoodCommander 2 , NaturalMilitarySkill 1 , GoodDefender 1 , Intelligent 2 , ReligionStarter 1 , CrusaderHistory 3 , Fertile 1
unit NE Bodyguard exp 4 armour 0 weapon_lvl 0
unit Frankish Swordsmen exp 0 armour 1 weapon_lvl 0
unit Frankish Swordsmen exp 0 armour 1 weapon_lvl 0
unit Knights Hospitaller exp 0 armour 1 weapon_lvl 0
unit NE Catapult exp 0 armour 0 weapon_lvl 0
unit NE Catapult exp 0 armour 0 weapon_lvl 0
unit NE Trebuchet exp 0 armour 0 weapon_lvl 0
unit Hospitaller Sergeant exp 0 armour 1 weapon_lvl 0
unit Hospitaller Sergeant exp 0 armour 1 weapon_lvl 0
unit Hospitaller Sergeant exp 0 armour 1 weapon_lvl 0
unit Hospitaller Sergeant exp 0 armour 1 weapon_lvl 0
unit Knights of Edessa exp 0 armour 1 weapon_lvl 0
unit Dismounted Knights of Antioch exp 0 armour 1 weapon_lvl 0
unit Dismounted Knights of Antioch exp 0 armour 1 weapon_lvl 0
unit Knights of Antioch exp 0 armour 1 weapon_lvl 0
unit Hospitaller Crossbowmen exp 0 armour 1 weapon_lvl 0
unit Hospitaller Crossbowmen exp 0 armour 1 weapon_lvl 0
end
terminate_monitor
end_monitor
Spoiler Alert, click show to read:
monitor_event CrusadeCalled TrueCondition
add_events
event emergent_faction teutonic_order
date 0
region Vilnius_Province
end_add_events
spawn_army
faction teutonic_order
character Gunther von Schwarzenburg, named character, age 36, x 386, y 152, family, portrait gunther,
traits GoodCommander 2 , PublicFaith 1 , BattleChivalry 4 , ReligionStarter 1
unit TO Bodyguard exp 3 armour 0 weapon_lvl 0
unit Order Spearmen exp 1 armour 1 weapon_lvl 0
unit Order Spearmen exp 1 armour 1 weapon_lvl 0
unit Order Spearmen exp 1 armour 1 weapon_lvl 0
unit Clergymen exp 1 armour 1 weapon_lvl 0
unit Christ Knights exp 1 armour 0 weapon_lvl 0
unit Ritterbruder exp 1 armour 0 weapon_lvl 0
unit Halbbruder exp 1 armour 0 weapon_lvl 0
unit Halbbruder exp 1 armour 0 weapon_lvl 0
unit Dismounted Halbbruder exp 1 armour 0 weapon_lvl 0
unit Dismounted Halbbruder exp 1 armour 0 weapon_lvl 0
unit Dismounted Ritterbruder exp 1 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 1 weapon_lvl 0
unit Prussian Archers exp 0 armour 1 weapon_lvl 0
unit Flagellants exp 1 armour 1 weapon_lvl 0
unit Flagellants exp 1 armour 1 weapon_lvl 0
end
console_command diplomatic_stance teutonic_order papal_states allied
console_command diplomatic_stance teutonic_order lithuania war
terminate_monitor
end_monitor
These 'simple' scripts have taken me a great deal of work, with a lot of advice needed. Although I am quite happy with the way they work, I would feel much better about them if the factions emerged during the slave faction turn, rather than at the begining of the players turn. Any help welcome.
The purpose would be to allow me to further add to the script, allowing me to tell the spawned army to attack the settlement. I'd rather this happened during the slave turn than at the begining of the players.