I'm trying to learn how to create spawn army scripts but am running into some problems. I am trying to add Andrew Moray to William Wallace's army as a test.
As always any help is greatly appreciated.
This script works but only spawns Wallace
This script does not work at allCode:monitor_event FactionTurnStart FactionIsLocal and I_TurnNumber = 0 if I_LocalFaction scotland spawn_army faction scotland character William Wallace, named character, age 20, x 55, y 253, direction SE, battle_model Wallace_General, portrait wallace, label scotland4wallace, hero_ability Highland_Champion traits MilitaryInclination 1 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 2 , ScotlandHero 1 , LoyaltyStarter 1, BattleChivalry 2 , Loyal 2 , Just 2 , Rabblerouser 3 , Hardened 1, GoodInfantryGeneral 3, HaleAndHearty 6 , BattleScarred 2 unit Highland Nobles exp 4 armour 0 weapon_lvl 1 unit Highlanders exp 3 armour 1 weapon_lvl 1 unit Highlanders exp 3 armour 1 weapon_lvl 1 unit Highlanders exp 3 armour 1 weapon_lvl 1 unit Highland Pikemen exp 4 armour 1 weapon_lvl 0 unit Highland Pikemen exp 4 armour 1 weapon_lvl 0 unit Highland Pikemen exp 3 armour 1 weapon_lvl 0 unit Highland Pikemen exp 3 armour 1 weapon_lvl 0 unit Highland Rabble exp 3 armour 0 weapon_lvl 0 unit Highland Rabble exp 3 armour 0 weapon_lvl 0 end historic_event scotland_wallace event/william_wallace.bik end_if end_monitor
Also tried this with no luckCode:monitor_event FactionTurnStart FactionIsLocal and I_TurnNumber = 0 if I_LocalFaction scotland spawn_army faction scotland character William Wallace, named character, age 20, x 55, y 253, direction SE, battle_model Wallace_General, portrait wallace, label scotland4wallace, hero_ability Highland_Champion traits MilitaryInclination 1 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 2 , ScotlandHero 1 , LoyaltyStarter 1, BattleChivalry 2 , Loyal 2 , Just 2 , Rabblerouser 3 , Hardened 1, GoodInfantryGeneral 3, HaleAndHearty 6 , BattleScarred 2 unit Highland Nobles exp 4 armour 0 weapon_lvl 1 unit Highlanders exp 3 armour 1 weapon_lvl 1 unit Highlanders exp 3 armour 1 weapon_lvl 1 unit Highlanders exp 3 armour 1 weapon_lvl 1 unit Highland Pikemen exp 4 armour 1 weapon_lvl 0 unit Highland Pikemen exp 4 armour 1 weapon_lvl 0 unit Highland Pikemen exp 3 armour 1 weapon_lvl 0 unit Highland Pikemen exp 3 armour 1 weapon_lvl 0 unit Highland Rabble exp 3 armour 0 weapon_lvl 0 unit Highland Rabble exp 3 armour 0 weapon_lvl 0 end historic_event scotland_wallace event/william_wallace.bik end_if end_monitor monitor_event FactionTurnStart FactionIsLocal and I_TurnNumber = 0 if I_LocalFaction scotland spawn_army faction scotland character Andrew Moray, named character, age 22, x 54, y 253 traits MilitaryInclination 1 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , LoyaltyStarter 1, BattleChivalry 2 , Loyal 2 , Just 2 , Hardened 1, HaleAndHearty 6 , BattleScarred 2 unit Scots Retinue exp 3 armour 0 weapon_lvl 0 unit Highland Nobles exp 3 armour 0 weapon_lvl 1 unit Noble Highland Archers exp 1 armour 1 weapon_lvl 0 unit Noble Highland Archers exp 1 armour 1 weapon_lvl 0 unit Noble Highland Archers exp 1 armour 1 weapon_lvl 0 unit Border Horse exp 2 armour 0 weapon_lvl 0 unit Border Horse exp 2 armour 0 weapon_lvl 0 end end_if end_monitor
Code:monitor_event FactionTurnStart FactionIsLocal and I_TurnNumber = 0 if I_LocalFaction scotland spawn_army faction scotland character William Wallace, named character, age 20, x 55, y 253, direction SE, battle_model Wallace_General, portrait wallace, label scotland4wallace, hero_ability Highland_Champion traits MilitaryInclination 1 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 2 , ScotlandHero 1 , LoyaltyStarter 1, BattleChivalry 2 , Loyal 2 , Just 2 , Rabblerouser 3 , Hardened 1, GoodInfantryGeneral 3, HaleAndHearty 6 , BattleScarred 2 unit Highland Nobles exp 4 armour 0 weapon_lvl 1 unit Highlanders exp 3 armour 1 weapon_lvl 1 unit Highlanders exp 3 armour 1 weapon_lvl 1 unit Highlanders exp 3 armour 1 weapon_lvl 1 unit Highland Pikemen exp 4 armour 1 weapon_lvl 0 unit Highland Pikemen exp 4 armour 1 weapon_lvl 0 unit Highland Pikemen exp 3 armour 1 weapon_lvl 0 unit Highland Pikemen exp 3 armour 1 weapon_lvl 0 unit Highland Rabble exp 3 armour 0 weapon_lvl 0 unit Highland Rabble exp 3 armour 0 weapon_lvl 0 end spawn_army faction scotland character Andrew Moray, named character, age 22, x 54, y 253 traits MilitaryInclination 1 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , LoyaltyStarter 1, BattleChivalry 2 , Loyal 2 , Just 2 , Hardened 1, HaleAndHearty 6 , BattleScarred 2 unit Scots Retinue exp 3 armour 0 weapon_lvl 0 unit Highland Nobles exp 3 armour 0 weapon_lvl 1 unit Noble Highland Archers exp 1 armour 1 weapon_lvl 0 unit Noble Highland Archers exp 1 armour 1 weapon_lvl 0 unit Noble Highland Archers exp 1 armour 1 weapon_lvl 0 unit Border Horse exp 2 armour 0 weapon_lvl 0 unit Border Horse exp 2 armour 0 weapon_lvl 0 end historic_event scotland_wallace event/william_wallace.bik end_if end_monitor




Reply With Quote






