Hi,
sorry i'm new in modding so my question may seem very stupid
I have Mtw2 vanilla 1.3 and i try some simple modification to campaign script. i try to spawn a new general and i get it if i use somting like
spawn_army
faction milan
character random_name, named character, age 30, x 135, y 111
traits GoodCommander 4, GoodTrader 2, GoodSiegeDefender 2
unit SE Bodyguard exp 2 armour 0 weapon_lvl 0
end
but the spawned general has no name.
If i substitute random_name with a valid name for the faction the name is corectly displayed in the game.
Since my target is to spawn random generals with rate depending on dificulty level, i would like to get random name for them and not write infinite length script with 200 or more diferent spawn_army statement.
the question is: do I mistake somethink?
how to make random_name to work?
Is random_name working only after Kingdoom installation?
thaks
Trux.




Reply With Quote








