for a gametype i made, i made an actor that records the location of summoned playerstarts and a description of the location in a .ini file, and made it work on multiple maps by having the location and description saved in an array, both in a struct array, like this:
(i remember reading on the wiki that this is the only way to do a multi-array). This was done to allow the locations to be saved to a total of 20 maps (hence the need for the struct) and 20 locations per map.
However, in my log file after trying it, i found a large number of the following error/warning:
Warning: ImportText: Illegal array element
I have no idea what this means, as I have never seen anything like it before, although im assuming it deals with the struct-in-array, leading me to assume that the best, maybe only, way to get rid of it is to get rid of the struct-array. However, I can't think of any other way to organize the list. Does anyone know what the error means, and how I can get rid of it (if i tried actually using it in the gametype, im assuming it would clutter the log file, as it seems to write several times whenever any of the functions that use the struct-array are accessed)
Code:
struct PSList
{
var config vector PlayerStarts[20];
var config string Description[20];
};
var config PSlist Maplist[20];
However, in my log file after trying it, i found a large number of the following error/warning:
Warning: ImportText: Illegal array element
I have no idea what this means, as I have never seen anything like it before, although im assuming it deals with the struct-in-array, leading me to assume that the best, maybe only, way to get rid of it is to get rid of the struct-array. However, I can't think of any other way to organize the list. Does anyone know what the error means, and how I can get rid of it (if i tried actually using it in the gametype, im assuming it would clutter the log file, as it seems to write several times whenever any of the functions that use the struct-array are accessed)