I've been also trying the question of spawn_army.
I think I've tried about a dozen of ways to write it. This is one:
Code:
spawn_army
faction romans_julii
character Publius Scipio, general, command 0, influence 0, management 0, subterfuge 0, age 23, , x 211, y 69
army
unit roman generals guard cavalry early soldiers 15 exp 0 armour 0 weapon_lvl 0
unit roman velite soldiers 40 exp 0 armour 0 weapon_lvl 0
unit roman velite soldiers 40 exp 0 armour 0 weapon_lvl 0
unit roman hastati soldiers 40 exp 0 armour 0 weapon_lvl 0
unit roman hastati soldiers 40 exp 0 armour 0 weapon_lvl 0
unit roman hastati soldiers 40 exp 0 armour 0 weapon_lvl 0
unit roman hastati soldiers 40 exp 0 armour 0 weapon_lvl 0
unit roman princeps soldiers 41 exp 0 armour 0 weapon_lvl 0
unit roman triarii soldiers 41 exp 0 armour 0 weapon_lvl 0
end
It doesn't work, of course, but perhaps there is a useful information. The show_err option says me "don't recognise this token: unit".
Does anybody know what token is?
The interesting question is that it seems that recognise everything until "unit" (so army is necessary, isn't it?). I've tried also:
roman generals...
"roman generals...
create_unit ...
and the error message is always the same: don't recognise this token {first word}.
Bookmarks