I am not sure how many people out there have played with units.txt, nice file, NICE BIG FILE!!
I am making a scenario, testing and all is great, except when I tried to make it so no units could pirate, I got an error message after crashing to desktop, something very similiar to "CANT_PIRATE line 490 is not a flag"
I have altered files befooore, when workng on my civil war scenario and had it down pat, but now I am back having a go at it.
My question is this,-
How can i tell what line i am on? Is there a way?
I know what I could do, start over, change one unit at a time, and start game, process of elimination I reckon, to se what it is I messed up.
I am just looking for any way to count lines, does the file count line down from top of page, or does it start with I believe "73 units" or whatever the count is or does it count only lines actually using a description, ect.?? just wanted to know if anyone has encountered this situation, that way you could go straight to that line and repair the code you messed up.
Thanks
Troll
P.S.
I am going to work on a Civil War Scenario, a little at a time, but it takes soo much work, I may just be whizzing in the wind, albeit my own whizz, my own wind...so it may not actually get past the "Want to" stage![Smile](https://apolyton.net/core/images/smilies/smile.gif)
Troll
I am making a scenario, testing and all is great, except when I tried to make it so no units could pirate, I got an error message after crashing to desktop, something very similiar to "CANT_PIRATE line 490 is not a flag"
I have altered files befooore, when workng on my civil war scenario and had it down pat, but now I am back having a go at it.
My question is this,-
How can i tell what line i am on? Is there a way?
I know what I could do, start over, change one unit at a time, and start game, process of elimination I reckon, to se what it is I messed up.
I am just looking for any way to count lines, does the file count line down from top of page, or does it start with I believe "73 units" or whatever the count is or does it count only lines actually using a description, ect.?? just wanted to know if anyone has encountered this situation, that way you could go straight to that line and repair the code you messed up.
Thanks
Troll
P.S.
I am going to work on a Civil War Scenario, a little at a time, but it takes soo much work, I may just be whizzing in the wind, albeit my own whizz, my own wind...so it may not actually get past the "Want to" stage
![Smile](https://apolyton.net/core/images/smilies/smile.gif)
Troll
Comment