Thank you very much. I will test it now, and see if it works.
RM3
No, it didn't work. here is my script:
Code:
script
declare_counter loop
set_counter loop 0
monitor_event UnitTrained UnitType roman hastati
and SettlementName Arretium
and FactionType romans_julii
and FactionIsLocal
spawn_army
faction romans_julii
character Flavius Julius, general, command 0, influence 0, management 0, subterfuge 0, age 20, x 89, y 80
unit roman generals guard cavalry, soldiers 20 exp 9 armour 1 weapon_lvl 0
unit roman legionary first cohort ii, soldiers 40 exp 0 armour 0 weapon_lvl 0
unit roman legionary cohort ii, soldiers 60 exp 0 armour 0 weapon_lvl 0
unit roman praetorian cohort i, soldiers 60 exp 0 armour 0 weapon_lvl 0
end
end_monitor
while I_CompareCounter loop = 0
end_while
end_script
If there is anything I should remove or add, please tell me.
And one question. Is it true that this is the only file I need for a background script?
Bookmarks