public EAIConfigurationData getEAIConfig()
{
if (!isScriptedAI())
{
if (eaiConfig != null) return eaiConfig;
EAIConfigurationDataPool eAIConfigurationDataPool = new EAIConfigurationDataPool();
eaiConfig = eAIConfigurationDataPool.get(mAIPlayerData.mName);
if (eaiConfig == null) // new AI
{
eaiConfig = new EAIConfigurationData();
}
activeWeighting = Weighting.buildWeighting(eaiConfig.getActiveWeightingCollection());