Software:Universal Client
Version Number:
________________________________________________________________________
Location
________________________________________________________________________
Description:
Since there is a lot to script for zoric, I was going to try and avoid having all the includes in the main script file for the sake of organization and to avoid needing a page or two of just includes.
I noticed on (I think) the civ scripts that #includes can basically be nested so was setting this up with the zoric script to somewhat act as a folder/file system
But it only partially worked. Had 5 includes in the main script. Those 5 files had a few other includes (only a few so far), but only the first one or two seemed to work. Eliminated the #include nesting and everything works fine.
________________________________________________________________________
Steps to Replicate:
nested #include's in script = partial brokenness
aint had a problem with that myself.
Coupla things i can think of that might be an issue..
1) The include paths aren't relative to the file they're in, they're always taken from "Data\Scripts".
2) If your files just contain #includes, make sure you've got a new line at the end of the script file, as sometimes it won't parse the last. (A bug that needs to be fixed if this is the case).
Otherwise, can you send make a sample that demonstrates the problem?
Coupla things i can think of that might be an issue..
1) The include paths aren't relative to the file they're in, they're always taken from "Data\Scripts".
2) If your files just contain #includes, make sure you've got a new line at the end of the script file, as sometimes it won't parse the last. (A bug that needs to be fixed if this is the case).
Otherwise, can you send make a sample that demonstrates the problem?