
Originally Posted by
Triumvere
Thanks for the clarification. Thats without terminating the script, I take it.
You are looking at this wrong. The terminate_monitor command simply keeps that monitor from firing again. Lets assume once again that the kings purse is 1500, and you have this in your script:
Code:
monitor_event FactionTurnEnd FactionIsLocal
increment_kings_purse england 2000
terminate_monitor
end_monitor
The first time you click EndTurn the kings purse for England will go from 1500 to 3500 and stay there for the rest of the game. Every turn England will get 3500 from the Kings Purse.
However if you remove the terminate_monitor line, it will add 2000 to whatever the current value is every turn.
So after turn 1 3500
Turn 2 5500
Turn 3 7500
Turn 4 9500
Turn 5 11500
And so on...
The kings purse is always there, what the increment command does is increase/decrease the amount the faction gets every turn. The set command will set it to the specified value and leave it there until you change it either by using the set command again or the increment command.
Use terminate_monitor if you only want it to increase 1 time. Or set a bunch of other conditions and make the amount go up and down as the game progresses.
Also, the script I have prior to it does not seem to be working properly... I don't know if I messed it up or not when I put on the new script. Would you mind taling a look? It is supposed to pass special "king" battle models to new kings:
Code:
;------------------- FACTION LEADER MODELS -------------------;
monitor_event BecomesFactionLeader FactionType byzantium
change_battle_model byzantium leader andronicus
end_monitor
monitor_event BecomesFactionLeader FactionType england
change_battle_model england leader edward_general
end_monitor
monitor_event BecomesFactionLeader FactionType france
change_battle_model france leader edward_general
end_monitor
monitor_event BecomesFactionLeader FactionType hre
change_battle_model hre leader edward_general
end_monitor
monitor_event BecomesFactionLeader FactionType spain
change_battle_model spain leader edward_general
end_monitor
monitor_event BecomesFactionLeader FactionType venice
change_battle_model venice leader oneill_general
end_monitor
monitor_event BecomesFactionLeader FactionType sicily
change_battle_model sicily leader edward_general
end_monitor
monitor_event BecomesFactionLeader FactionType milan
change_battle_model milan leader oneill_general
end_monitor
monitor_event BecomesFactionLeader FactionType scotland
change_battle_model scotland leader edward_general
end_monitor
monitor_event BecomesFactionLeader FactionType ireland
change_battle_model ireland leader oneill_general
end_monitor
monitor_event BecomesFactionLeader FactionType russia
change_battle_model russia leader oneill_general
end_monitor
monitor_event BecomesFactionLeader FactionType kiev
change_battle_model kiev leader oneill_general
end_monitor
monitor_event BecomesFactionLeader FactionType moors
change_battle_model moors leader eastern_sultan
end_monitor
monitor_event BecomesFactionLeader FactionType turks
change_battle_model turks leader sultan_nur_eldin
end_monitor
monitor_event BecomesFactionLeader FactionType egypt
change_battle_model egypt leader sultan_saladin
end_monitor
monitor_event BecomesFactionLeader FactionType denmark
change_battle_model denmark leader edward_general
end_monitor
monitor_event BecomesFactionLeader FactionType norway
change_battle_model norway leader edward_general
end_monitor
monitor_event BecomesFactionLeader FactionType portugal
change_battle_model portugal leader oneill_general
end_monitor
monitor_event BecomesFactionLeader FactionType poland
change_battle_model poland leader oneill_general
end_monitor
monitor_event BecomesFactionLeader FactionType hungary
change_battle_model hungary leader oneill_general
end_monitor
;------------------- KINGS PURSE -------------------;
monitor_event FactionTurnStart FactionType england and IsFactionAIControlled
increment_kings_purse england 2000
end_monitor
monitor_event FactionTurnStart FactionType ireland and IsFactionAIControlled
increment_kings_purse ireland 2000
end_monitor
monitor_event FactionTurnStart FactionType scotland and IsFactionAIControlled
increment_kings_purse scotland 2000
end_monitor
monitor_event FactionTurnStart FactionType denmark and IsFactionAIControlled
increment_kings_purse denmark 2000
end_monitor
monitor_event FactionTurnStart FactionType norway and IsFactionAIControlled
increment_kings_purse norway 2000
end_monitor
monitor_event FactionTurnStart FactionType france and IsFactionAIControlled
increment_kings_purse france 2000
end_monitor
monitor_event FactionTurnStart FactionType hre and IsFactionAIControlled
increment_kings_purse hre 2000
end_monitor
monitor_event FactionTurnStart FactionType spain and IsFactionAIControlled
increment_kings_purse spain 2000
end_monitor
monitor_event FactionTurnStart FactionType portugal and IsFactionAIControlled
increment_kings_purse portugal 2000
end_monitor
monitor_event FactionTurnStart FactionType venice and IsFactionAIControlled
increment_kings_purse venice 2000
end_monitor
monitor_event FactionTurnStart FactionType milan and IsFactionAIControlled
increment_kings_purse milan 2000
end_monitor
monitor_event FactionTurnStart FactionType sicily and IsFactionAIControlled
increment_kings_purse sicily 2000
end_monitor
monitor_event FactionTurnStart FactionType hungary and IsFactionAIControlled
increment_kings_purse hungary 2000
end_monitor
monitor_event FactionTurnStart FactionType poland and IsFactionAIControlled
increment_kings_purse poland 2000
end_monitor
monitor_event FactionTurnStart FactionType russia and IsFactionAIControlled
increment_kings_purse russia 2000
end_monitor
monitor_event FactionTurnStart FactionType kiev and IsFactionAIControlled
increment_kings_purse kiev 2000
end_monitor
monitor_event FactionTurnStart FactionType byzantium and IsFactionAIControlled
increment_kings_purse byzantium 2000
end_monitor
monitor_event FactionTurnStart FactionType turks and IsFactionAIControlled
increment_kings_purse turks 2000
end_monitor
monitor_event FactionTurnStart FactionType moors and IsFactionAIControlled
increment_kings_purse moors 2000
end_monitor
monitor_event FactionTurnStart FactionType egypt and IsFactionAIControlled
increment_kings_purse egypt 2000
end_monitor
monitor_event FactionTurnStart FactionType timurids and IsFactionAIControlled
increment_kings_purse timurids 2000
end_monitor
monitor_event FactionTurnStart FactionType mongols and IsFactionAIControlled
increment_kings_purse mongols 2000
end_monitor
monitor_event FactionTurnStart FactionType aztecs and IsFactionAIControlled
increment_kings_purse aztecs 2000
end_monitor
end_script
I didnt see anything wrong with the models script, but I have a few questions. Is there anything in your log? Are you sure you have models named properly? And are you waiting for a character to become the new faction leader?
I suggest a simple test. Create a blank script and insert this:
Code:
monitor_event FactionTurnEnd FactionIsLocal
change_battle_model england leader edward_general
end_monitor
Play as england and see if the model changes after the first turn.