Im new to scripting but Im trying to use what Ive picked up from this forum to use the Spawn Army script. From what I can tell everything looks correct, the game runs w/o crashing, I see the script when the advisor comes up but I dont see an army get spawned after I run it. Heres what config files looks like:
export_descr_advice.txt
Code:
;------------------------------------------ Spawn Army
AdviceThread Spawn_Army_Thread
GameArea Campaign
Item Spawn_Army_Text_01
Uninhibitable
Verbosity 0
Threshold 1
Attitude Normal
Presentation Default
Title Spawn_Army_Text_01_Title
Script scripts\show_me\spawn_army.txt
Text Spawn_Army_Text_01_Text1
;------------------------------------------ Spawn Army
Trigger Spawn_Army_Thread_Trigger
WhenToTest ScrollOpened
Condition ScrollOpened help_scroll
AdviceThread Spawn_Army_Thread 0
export_advice.txt
Code:
{Spawn_Army_Text_01_Title} Spawn Army
{Spawn_Army_Text_01_Text1} Spawn Army
spawn_army.txt
Code:
script
monitor_event FactionTurnStart FactionType romans_julii
and not FactionIsLocal
spawn_army
faction romans_julii
character Flavius Julius, general, command 0, influence 0, management 0, subterfuge 0, age 20, x 180, y 5
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
console_command move_character Flavius Julius 170, 5
campaign_wait 1
console_command move_character Flavius Julius 160, 15
end_monitor
end_script
If anyone could take a quick look to see what im missing it would be very appreciated. Thanks.
Bookmarks