Ok, I found how to do this :
Originally Posted by neai
I create a new :
Originally Posted by UTLegionsMan.ini
in my gametype with the map name as parameter :
class LegionsManager extends Object
var array<class<Legion> > Legions;
var() config array<string> LegionsNames;
`log("LEGIONS - Loading legions");
But there is three problems :
LegionsMan = new(None, WorldInfo.GetMapName()) class'LegionsManager';
1- the ini file is in UTGame folder and is renamed UTMyConfigName
2- the map name is the title game in the map info or the file name if there is no title, and they could be different.
3- all are in the same ini file and so may be overriden when installing a new map.