"script
declare_counter loop
set_counter loop 0
monitor_event FactionTurnStart Treasury < 10000
and FactionType romans_julii
and not I_LocalFaction romans_julii
console_command add_money romans_julii, 10000
end_moniwhile
I_CompareCounter loop = 0
end_while
end_script"
Ok so there is my script (if there are any problems tell me!), with one of those for each faction. Now I want to create a trigger, so that this script will be activated once and only once after I click on an army or a city (sorry for the confusion, the advisor only appears once, similar to what you outlined above).
So how do I create the trigger in the advice text for this?
Bookmarks