Re: Some BASIC script help?
Well, I figured it out... now I can finally work on my MOD to FIX the senate so they get pissed at you a lot earlier than v1.2 allows... bwahaha! This will make the game a LOT more fun for me...
Re: Some BASIC script help?
Plese post this script when it gets final.
Re: Some BASIC script help?
There is a problem with using this kind of script. While the script is running the player cannot load or save, and once the script halts it will not start up again. It will only be run once when the campaign first starts.
Scripts that get started with descr_strat.txt can really only be used to set things up in the first turn, or maybe to control things in the very early game.
You can start up scripts durring the campaign by using the advice system, but that requires intervention by the player.
Re: Some BASIC script help?
Quote:
Originally Posted by player1
Plese post this script when it gets final.
Judging from his first post I imagine he's using this script:
Code:
monitor_conditions I_NumberOfSettlements romans_julii > 30
and RandomPercent < 10
console_command diplomatic_stance romans_julii romans_senate war
terminate_monitor
end_monitor
terminate_script
Quote:
Originally Posted by Dimebagho
There is a problem with using this kind of script. While the script is running the player cannot load or save, and once the script halts it will not start up again. It will only be run once when the campaign first starts.
All very true, the alternatives are to either do it as a background script in which case you have to manually reactivate it each time you reload before it happens, or as an event script where the advisor would pop up to tell you you'd been outlawed, but unless you pressed the show me how button it wouldn't take effect.