Dearmad
05-17-2005, 17:31
Can't find tutorials on the basic part, so:
Well, Ok, then since this: https://forums.totalwar.org/vb/showthread.php?t=47797 thread has no one helping out, maybe someone who can script can help me out:
I'm trying to mod the basic campaign into monitoring the following:
--
monitor_conditions I_NumberOfSettlements romans_julii = 2 ;eventually will be >30
;and RandomPercent > 10 ;eventually I'll add in this line once I know I can get it to work.
;console_command
SenateOutlawsFaction romans_julii
end_monitor
terminate_script
--
I ALSO added:
script myscript.txt
to the end of the campaign description txt file, so it should be running.
Anyway, this is a TEST script to trigger it when the campaign starts... but it's not working not working. I can't find any tutorials on the making scripts run, even though I'm somewhat expereinced in programming; I can't figure out if my script is working or not. I've tried the outlawsfaction part both as console command and not. is the problem that this script runs only once and then doesn't continue in the campaign?
H E L P !
Well, Ok, then since this: https://forums.totalwar.org/vb/showthread.php?t=47797 thread has no one helping out, maybe someone who can script can help me out:
I'm trying to mod the basic campaign into monitoring the following:
--
monitor_conditions I_NumberOfSettlements romans_julii = 2 ;eventually will be >30
;and RandomPercent > 10 ;eventually I'll add in this line once I know I can get it to work.
;console_command
SenateOutlawsFaction romans_julii
end_monitor
terminate_script
--
I ALSO added:
script myscript.txt
to the end of the campaign description txt file, so it should be running.
Anyway, this is a TEST script to trigger it when the campaign starts... but it's not working not working. I can't find any tutorials on the making scripts run, even though I'm somewhat expereinced in programming; I can't figure out if my script is working or not. I've tried the outlawsfaction part both as console command and not. is the problem that this script runs only once and then doesn't continue in the campaign?
H E L P !