The first part of my script is the 4 turns a year piece by Mydral (spelling...), and that part of the script works fine, but then I get into the part where I want the AI to get some extra cash, and it doesn't appear to be working (at least not in Romeshell).
"script
suspend_during_battle on
console_command date -272
console_command season summer
while I_TurnNumber = 0
suspend_unscripted_advice true
end_while
....
declare_counter loop
set_counter loop 0
monitor_event FactionTurnStart Treasury < 10000
and FactionType romans_julii
and not I_LocalFaction romans_juli
console_command add_money roman_julii, 10000
end_monitor
while I_CompareCounter loop = 0
end_while
end_script"
The triggers and seasons work fine, but why won't the money script work? When I open Romeshell it doesn't show any money being added, is there another way I can check? If I remove the "not" from "and not I_LocalFaction romans_juli", will it give the money to me?
Please help. Thanks.
Bookmarks