PDA

View Full Version : cash scripting



thefirstoneill
06-24-2007, 10:21
hi,
whilst experimenting with my first campaign script editing , Ive come across an odddity and wonder if anyone can help. Im trying to make it so that the human player recieves nmo cash for the first three turns, to give the AI a head start. (in the mod, onlt mongols, aztecs, timurids , english and templars are playable)

to test on the mongols I but in the code below


monitor_conditions I_TurnNumber = 3
if I_LocalFaction mongols
console_command add_money mongols, 5000000

end_if
terminate_monitor
end_monitor


the code seems to work but it only ever gives a max amount of 40K, no matter no large the sum I put in,

any ideas what is wrong ?

LorDBulA
06-25-2007, 06:17
40K is the max money You can give with add_money command.
repeat console_command add_money mongols, 40000 as many times as You need.